OpenCOM
Interface IMetaArchitecture

All Known Implementing Classes:
OpenCOM

public interface IMetaArchitecture

Interface implemented by the OpenCOM runtime. Provides operations to determine which components are connected to a particular component's interfaces and receptacles. i.e. it provides introspection operations.


Method Summary
 int enumConnsFromRecp(IUnknown pIUnknown, java.lang.String riid, java.util.Vector<java.lang.Long> ppConnsFromRecp)
          Returns an array of connection identifiers detailing all the connections established by the receptacle of the specified interface type on the target component instance.
 int enumConnsToIntf(IUnknown pIUnknown, java.lang.String riid, java.util.Vector<java.lang.Long> ppConnsToIntf)
          Returns an array of connection identifiers detailing all the connecitons established on the specified interface of the target component instance.
 

Method Detail

enumConnsToIntf

int enumConnsToIntf(IUnknown pIUnknown,
                    java.lang.String riid,
                    java.util.Vector<java.lang.Long> ppConnsToIntf)
Returns an array of connection identifiers detailing all the connecitons established on the specified interface of the target component instance.

Parameters:
pIUnknown - A reference of the component whose connections are to be inspected.
riid - A String represting the interface type to be inspected.
ppConnsToIntf - a list of unqiue connection identifiers of connections to this interface.
Returns:
An integer describing the number of connections to the interface.

enumConnsFromRecp

int enumConnsFromRecp(IUnknown pIUnknown,
                      java.lang.String riid,
                      java.util.Vector<java.lang.Long> ppConnsFromRecp)
Returns an array of connection identifiers detailing all the connections established by the receptacle of the specified interface type on the target component instance.

Parameters:
pIUnknown - A reference of the component whose connections are to be inspected.
riid - A String represting the interface type to be inspected.
ppConnsFromRecp - a list of unqiue connection identifiers of connections from this receptacle.
Returns:
An integer describing the number of connections from the receptacle.