|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavafish.clients.opc.JCustomOpc
public abstract class JCustomOpc
JCustomOpc Client
abstract class
OPC is open connectivity in industrial automation and the enterprise systems that support the industry. Interoperability is assured through the creation and maintenance of non-proprietary open standards specifications.
The first OPC standard specification resulted from the collaboration of a number of leading worldwide automation suppliers working in cooperation with Microsoft. Originally based on Microsoft's OLE COM and DCOM technologies, the specification defined a standard set of objects, interfaces and methods for use in process control and manufacturing automation applications to facilitate interoperability.
The COM/DCOM technologies provided the framework for software products to be developed. There are now hundreds of OPC Data Access servers and clients.
| Constructor Summary | |
|---|---|
JCustomOpc(java.lang.String host,
java.lang.String serverProgID,
java.lang.String serverClientHandle)
Create new custom OPC client |
|
| Method Summary | |
|---|---|
static void |
coInitialize()
COM objects initialize (must be call first in program!) |
void |
connect()
Connect to OPC Server |
static void |
coUninitialize()
COM objects uninitialize (can be call on program exit) |
java.lang.String |
getFullOpcServerName()
Return Description of OPC Server |
java.lang.String |
getHost()
Get host server |
java.lang.String |
getServerClientHandle()
Get user client name |
java.lang.String |
getServerProgID()
Get OPC Server prog id |
boolean |
ping()
Check connection between server and client |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JCustomOpc(java.lang.String host,
java.lang.String serverProgID,
java.lang.String serverClientHandle)
host - - host computerserverProgID - - OPC Server nameserverClientHandle - - user name for OPC Client| Method Detail |
|---|
public static void coUninitialize()
throws CoUninitializeException
CoUninitializeException
public static void coInitialize()
throws CoInitializeException
CoInitializeExceptionpublic java.lang.String getFullOpcServerName()
public boolean ping()
public void connect()
throws ConnectivityException
ConnectivityExceptionpublic java.lang.String getHost()
public java.lang.String getServerClientHandle()
public java.lang.String getServerProgID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||