public abstract class _RouterDisp extends Ice.ObjectImpl implements Router
Router
interface.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId| Constructor and Description |
|---|
_RouterDisp() |
| Modifier and Type | Method and Description |
|---|---|
static Ice.DispatchStatus |
___createSession(Router __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createSessionFromSecureConnection(Router __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___destroySession(Router __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getACMTimeout(Router __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getCategoryForClient(Router __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getSessionTimeout(Router __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___refreshSession(Router __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
Ice.ObjectPrx[] |
addProxies(Ice.ObjectPrx[] proxies)
Add new proxy information to the router's routing table.
|
void |
createSession_async(AMD_Router_createSession __cb,
java.lang.String userId,
java.lang.String password)
Create a per-client session with the router.
|
void |
createSessionFromSecureConnection_async(AMD_Router_createSessionFromSecureConnection __cb)
Create a per-client session with the router.
|
void |
destroySession()
Destroy the calling client's session with this router.
|
int |
getACMTimeout()
Get the value of the ACM timeout.
|
java.lang.String |
getCategoryForClient()
This category must be used in the identities of all of the client's
callback objects.
|
Ice.ObjectPrx |
getClientProxy()
Get the router's client proxy, i.e., the proxy to use for
forwarding requests from the client to the router.
|
Ice.ObjectPrx |
getServerProxy()
Get the router's server proxy, i.e., the proxy to use for
forwarding requests from the server to the router.
|
long |
getSessionTimeout()
Get the value of the session timeout.
|
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
void |
refreshSession_async(AMD_Router_refreshSession __cb)
Keep the calling client's session with this router alive.
|
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshalequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSession_async, createSessionFromSecureConnection_async, destroySession, getACMTimeout, getCategoryForClient, getSessionTimeout, refreshSession_async__read, __read, __write, __write, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshaladdProxies, getClientProxy, getServerProxypublic static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic boolean ice_isA(java.lang.String s)
ice_isA in interface Ice.Objectice_isA in class Ice.ObjectImplpublic boolean ice_isA(java.lang.String s,
Ice.Current __current)
ice_isA in interface Ice.Objectice_isA in class Ice.ObjectImplpublic java.lang.String[] ice_ids()
ice_ids in interface Ice.Objectice_ids in class Ice.ObjectImplpublic java.lang.String[] ice_ids(Ice.Current __current)
ice_ids in interface Ice.Objectice_ids in class Ice.ObjectImplpublic java.lang.String ice_id()
ice_id in interface Ice.Objectice_id in class Ice.ObjectImplpublic java.lang.String ice_id(Ice.Current __current)
ice_id in interface Ice.Objectice_id in class Ice.ObjectImplpublic static java.lang.String ice_staticId()
public final void createSession_async(AMD_Router_createSession __cb, java.lang.String userId, java.lang.String password) 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.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.public final void createSessionFromSecureConnection_async(AMD_Router_createSessionFromSecureConnection __cb) 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.PermissionDeniedException - Raised if the user cannot be
authenticated or if the user is not allowed access.CannotCreateSessionException - Raised if the session
cannot be created.public final void destroySession()
throws SessionNotExistException
SessionNotExistException - Raised if no session exists
for the calling client.public final int getACMTimeout()
public final java.lang.String getCategoryForClient()
public final long getSessionTimeout()
public final void refreshSession_async(AMD_Router_refreshSession __cb) throws SessionNotExistException
__cb - The callback object for the operation.SessionNotExistException - Raised if no session exists
for the calling client.public final Ice.ObjectPrx[] addProxies(Ice.ObjectPrx[] proxies)
addProxies in interface Ice._RouterOperationsNCproxies - The proxies to add.public final Ice.ObjectPrx getClientProxy()
getClientProxy in interface Ice._RouterOperationsNCpublic final Ice.ObjectPrx getServerProxy()
getServerProxy in interface Ice._RouterOperationsNCpublic static Ice.DispatchStatus ___getCategoryForClient(Router __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createSession(Router __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createSessionFromSecureConnection(Router __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___refreshSession(Router __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___destroySession(Router __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getSessionTimeout(Router __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getACMTimeout(Router __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch in interface Ice.Object__dispatch in class Ice.ObjectImplprotected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl in class Ice.ObjectImplprotected void __readImpl(IceInternal.BasicStream __is)
__readImpl in class Ice.ObjectImpl