org.clazzes.remoting
Interface InvocationContext
- All Known Subinterfaces:
- CallbackInvocationContext, RemoteInvoker
- All Known Implementing Classes:
- Client, ServerConnectionHandler
public interface InvocationContext
The context under which a call is invoked. If the context implements
CallbackInvocationContext
, the InvocationHandler
may
issue a callback to the originating invoker.
- Author:
- wglas
getClientUID
java.rmi.server.UID getClientUID()
- Returns:
- The server-generated client UID, which is being assigned during the
startup handshake inside
Client.connect()
. Multiple clients connected
to the same server are guaranteed to have distinct client UIDs.
Return null
, if the client is not connected.
Copyright © 2010. All Rights Reserved.