|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IOpenCOM
Java Interface describing the methods of OpenCOM runtime kernel. The primary runtime operations are: create, delete connect, disconnect, and the meta-operations are list components, get component name etc. Note: This is a direct attempt to port the OpenCOM v1 interface to Java
| Method Summary | |
|---|---|
long |
connect(IUnknown pSourceComponentIUnk,
IUnknown ComponentIUnk,
java.lang.String InterfaceType)
Connects a receptacle on the Source component to an interface on the Sink component. |
java.lang.Object |
createInstance(java.lang.String componentType,
java.lang.String componentName)
Create a new instance of a component and insert it into the OpenCOM runtime. |
boolean |
deleteInstance(IUnknown pComponentIUnknown)
Deletes a component instance which has been previously created. |
boolean |
disconnect(long connID)
Disconnects a receptacle from an interface. |
int |
enumComponents(java.util.Vector<IUnknown> ppComps)
Fills the given Vector with the complete set of components currently instantiated in the runtime. |
java.lang.Class |
getComponentCLSID(IUnknown pIUnknown)
Returns the registered component type of a given component instantiation. |
java.lang.String |
getComponentName(IUnknown pIUnknown)
Returns the registered unique component name for a given component reference. |
IUnknown |
getComponentPIUnknown(java.lang.String name)
Returns the registered component reference of a named component. |
OCM_ConnInfo_t |
getConnectionInfo(long connID)
Returns meta-information about a given connection. |
| Methods inherited from interface OpenCOM.IUnknown |
|---|
QueryInterface |
| Method Detail |
|---|
java.lang.Object createInstance(java.lang.String componentType,
java.lang.String componentName)
componentType - the string describing the component type i.e. the Java class of the component.componentName - the string represting the unique (user defined) name of the component.
Objectboolean deleteInstance(IUnknown pComponentIUnknown)
pComponentIUnknown - an IUnknown reference of the component to delete.
IUnknown
long connect(IUnknown pSourceComponentIUnk,
IUnknown ComponentIUnk,
java.lang.String InterfaceType)
pSourceComponentIUnk - Reference to component with the receptacle.pSinkComponentIUnk - Reference to component with the interface.InterfaceType - a string describing the interface type of the connection.
IUnknownboolean disconnect(long connID)
connID - a long describing the unique identifier of the connection to destroy.
OCM_ConnInfo_t getConnectionInfo(long connID)
connID - a long describing the unique identifier of the connection to inspect.
OCM_ConnInfo_tint enumComponents(java.util.Vector<IUnknown> ppComps)
ppComps - Vector to fill with IUnknown pointers of current components.
java.lang.String getComponentName(IUnknown pIUnknown)
pIUnknown - an IUnknown reference describing a component instantiation.
IUnknownIUnknown getComponentPIUnknown(java.lang.String name)
name - a string describing the unique name of the component.
IUnknownjava.lang.Class getComponentCLSID(IUnknown pIUnknown)
pIUnknown - an IUnknown reference describing a component instantiation.
IUnknown,
Class
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||