|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PMPConnection
Contains the methods for getting references to the services registered in the remote Framework.
| Method Summary | |
|---|---|
void |
disconnect(java.lang.String message)
Disconnects this PMPConnection from the remote Framework |
RemoteObject |
getReference(java.lang.String clazz,
java.lang.String filter)
Gets reference to a service registered in the Framework. |
RemoteObject |
getReference(java.lang.String clazz,
java.lang.String filter,
long bid)
Gets reference to a service registered in the Framework. |
java.lang.String |
getSessionID()
Gets the identification of this session |
java.lang.String |
getURI()
Get's the uri of the remote PMPService to which this connection is bind |
boolean |
isConnected()
Checks whenever this this connection is bind |
| Methods inherited from interface com.prosyst.util.event.EventsManager |
|---|
addEventListener, removeEventListener |
| Method Detail |
|---|
RemoteObject getReference(java.lang.String clazz,
java.lang.String filter)
throws PMPException
clazz - Specifies the interface under which the service was regisered.filter - Specifies the search filter (exactly as BundleContext.getService filter)
PMPException - If an IOException or protocol error occured, if the user does not have
access rigths for this service, or if there was no such service registered in the Framework.RemoteObject
RemoteObject getReference(java.lang.String clazz,
java.lang.String filter,
long bid)
throws PMPException
clazz - Specifies the interface under which the service was regisered.filter - Specifies the search filter (exactly as BundleContext getService filter)bid - The id of the bundle that registered the service.
PMPException - If an IOException or protocol error occured, if the user does not have
access rigths for this service, or if there was no such service registered in the Framework.RemoteObjectvoid disconnect(java.lang.String message)
message - The dissconnection messagejava.lang.String getURI()
boolean isConnected()
java.lang.String getSessionID()
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||