|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChannelEndpoint
The endpoint of a channel to a connected remote peer.
Method Summary | |
---|---|
void |
dispose()
dispose of the channel endpoint. |
java.util.Dictionary |
getPresentationProperties(java.lang.String service)
get the attributes for the presentation of the service. |
java.util.Dictionary |
getProperties(java.lang.String service)
get the attributes of a service. |
URI |
getRemoteAddress()
get the URI of the remote channel endpoint. |
java.lang.Object |
invokeMethod(java.lang.String service,
java.lang.String methodSignature,
java.lang.Object[] args)
invoke a method on the remote host. |
void |
receivedMessage(RemoteOSGiMessage msg)
callback for NetworkChannels. |
void |
trackRegistration(java.lang.String service,
org.osgi.framework.ServiceRegistration reg)
register a proxied service registration to allow updates of the properties. |
void |
untrackRegistration(java.lang.String service)
unregister a proxied service registration. |
Method Detail |
---|
void receivedMessage(RemoteOSGiMessage msg)
msg
- the message.java.lang.Object invokeMethod(java.lang.String service, java.lang.String methodSignature, java.lang.Object[] args) throws java.lang.Throwable
service
- the URI of the service.methodSignature
- the signature of the method.args
- the method parameter.
java.lang.Throwable
- can be either a local exception or an exception that occured
on the original service method.java.util.Dictionary getProperties(java.lang.String service)
service
- the URI of the remote service.
java.util.Dictionary getPresentationProperties(java.lang.String service)
service
- the URI of the remote service.
void trackRegistration(java.lang.String service, org.osgi.framework.ServiceRegistration reg)
service
- the URI of the service.reg
- the service registration object.void untrackRegistration(java.lang.String service)
service
- the URI of the service.reg
- the service registration object.URI getRemoteAddress()
void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |