public interface _RouterOperations extends Ice._RouterOperations
Router
interface.| Modifier and Type | Method and Description |
|---|---|
void |
createSession_async(AMD_Router_createSession __cb,
java.lang.String userId,
java.lang.String password,
Ice.Current __current)
Create a per-client session with the router.
|
void |
createSessionFromSecureConnection_async(AMD_Router_createSessionFromSecureConnection __cb,
Ice.Current __current)
Create a per-client session with the router.
|
void |
destroySession(Ice.Current __current)
Destroy the calling client's session with this router.
|
int |
getACMTimeout(Ice.Current __current)
Get the value of the ACM timeout.
|
java.lang.String |
getCategoryForClient(Ice.Current __current)
This category must be used in the identities of all of the client's
callback objects.
|
long |
getSessionTimeout(Ice.Current __current)
Get the value of the session timeout.
|
void |
refreshSession_async(AMD_Router_refreshSession __cb,
Ice.Current __current)
Keep the calling client's session with this router alive.
|
addProxies, getClientProxy, getServerProxyjava.lang.String getCategoryForClient(Ice.Current __current)
__current - The Current object for the invocation.void createSession_async(AMD_Router_createSession __cb, java.lang.String userId, java.lang.String password, Ice.Current __current) throws CannotCreateSessionException, PermissionDeniedException
SessionManager has been installed, a proxy to a Session
object is returned to the client. Otherwise, null is returned
and only an internal session (i.e., not visible to the client)
is created.
If a session proxy is returned, it must be configured to route
through the router that created it. This will happen automatically
if the router is configured as the client's default router at the
time the session proxy is created in the client process, otherwise
the client must configure the session proxy explicitly.__cb - The callback object for the operation.userId - The user id for which to check the password.password - The password for the given user id.__current - The Current object for the invocation.PermissionDeniedException - Raised if the password for
the given user id is not correct, or if the user is not allowed
access.CannotCreateSessionException - Raised if the session
cannot be created.void createSessionFromSecureConnection_async(AMD_Router_createSessionFromSecureConnection __cb, Ice.Current __current) throws CannotCreateSessionException, PermissionDeniedException
SessionManager has been
installed, a proxy to a Session object is returned to the
client. Otherwise, null is returned and only an internal
session (i.e., not visible to the client) is created.
If a session proxy is returned, it must be configured to route
through the router that created it. This will happen automatically
if the router is configured as the client's default router at the
time the session proxy is created in the client process, otherwise
the client must configure the session proxy explicitly.__cb - The callback object for the operation.__current - The Current object for the invocation.PermissionDeniedException - Raised if the user cannot be
authenticated or if the user is not allowed access.CannotCreateSessionException - Raised if the session
cannot be created.void refreshSession_async(AMD_Router_refreshSession __cb, Ice.Current __current) throws SessionNotExistException
__cb - The callback object for the operation.__current - The Current object for the invocation.SessionNotExistException - Raised if no session exists
for the calling client.void destroySession(Ice.Current __current) throws SessionNotExistException
__current - The Current object for the invocation.SessionNotExistException - Raised if no session exists
for the calling client.long getSessionTimeout(Ice.Current __current)
__current - The Current object for the invocation.int getACMTimeout(Ice.Current __current)
__current - The Current object for the invocation.