public class _AdminSessionTie extends _AdminSessionDisp implements Ice.TieBase
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
__idsice_staticId| Constructor and Description |
|---|
_AdminSessionTie(_AdminSessionOperations delegate) |
_AdminSessionTie() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(Ice.Current __current) |
boolean |
equals(java.lang.Object rhs) |
void |
finishUpdate(Ice.Current __current)
Finish updating the registry and release the exclusive lock.
|
AdminPrx |
getAdmin(Ice.Current __current)
Get the admin interface.
|
Ice.ObjectPrx |
getAdminCallbackTemplate(Ice.Current __current)
Get a "template" proxy for admin callback objects.
|
java.lang.String |
getReplicaName(Ice.Current __current)
Get the name of the registry replica hosting this session.
|
int |
hashCode() |
java.lang.Object |
ice_delegate() |
void |
ice_delegate(java.lang.Object delegate) |
void |
keepAlive(Ice.Current __current)
Keep the session alive.
|
FileIteratorPrx |
openNodeStdErr(java.lang.String name,
int count,
Ice.Current __current)
Open the given node stderr file for reading.
|
FileIteratorPrx |
openNodeStdOut(java.lang.String name,
int count,
Ice.Current __current)
Open the given node stdout file for reading.
|
FileIteratorPrx |
openRegistryStdErr(java.lang.String name,
int count,
Ice.Current __current)
Open the given registry stderr file for reading.
|
FileIteratorPrx |
openRegistryStdOut(java.lang.String name,
int count,
Ice.Current __current)
Open the given registry stdout file for reading.
|
FileIteratorPrx |
openServerLog(java.lang.String id,
java.lang.String path,
int count,
Ice.Current __current)
Open the given server log file for reading.
|
FileIteratorPrx |
openServerStdErr(java.lang.String id,
int count,
Ice.Current __current)
Open the given server stderr file for reading.
|
FileIteratorPrx |
openServerStdOut(java.lang.String id,
int count,
Ice.Current __current)
Open the given server stdout file for reading.
|
void |
setObservers(RegistryObserverPrx registryObs,
NodeObserverPrx nodeObs,
ApplicationObserverPrx appObs,
AdapterObserverPrx adptObs,
ObjectObserverPrx objObs,
Ice.Current __current)
Set the observer proxies that receive
notifications when the state of the registry
or nodes changes.
|
void |
setObserversByIdentity(Ice.Identity registryObs,
Ice.Identity nodeObs,
Ice.Identity appObs,
Ice.Identity adptObs,
Ice.Identity objObs,
Ice.Current __current)
Set the observer identities that receive
notifications the state of the registry
or nodes changes.
|
int |
startUpdate(Ice.Current __current)
Acquires an exclusive lock to start updating the registry applications.
|
___finishUpdate, ___getAdmin, ___getAdminCallbackTemplate, ___getReplicaName, ___keepAlive, ___openNodeStdErr, ___openNodeStdOut, ___openRegistryStdErr, ___openRegistryStdOut, ___openServerLog, ___openServerStdErr, ___openServerStdOut, ___setObservers, ___setObserversByIdentity, ___startUpdate, __dispatch, __readImpl, __writeImpl, destroy, finishUpdate, getAdmin, getAdminCallbackTemplate, getReplicaName, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, keepAlive, openNodeStdErr, openNodeStdOut, openRegistryStdErr, openRegistryStdOut, openServerLog, openServerStdErr, openServerStdOut, setObservers, setObserversByIdentity, startUpdate___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_preMarshalfinalize, getClass, notify, notifyAll, toString, wait, wait, wait__read, __read, __write, __write, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshalpublic static final long serialVersionUID
public _AdminSessionTie()
public _AdminSessionTie(_AdminSessionOperations delegate)
public java.lang.Object ice_delegate()
ice_delegate in interface Ice.TieBasepublic void ice_delegate(java.lang.Object delegate)
ice_delegate in interface Ice.TieBasepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void destroy(Ice.Current __current)
destroy in interface Glacier2._SessionOperationspublic void finishUpdate(Ice.Current __current) throws AccessDeniedException
_AdminSessionOperationsfinishUpdate in interface _AdminSessionOperations__current - The Current object for the invocation.AccessDeniedException - Raised if the session doesn't hold the
exclusive lock.public AdminPrx getAdmin(Ice.Current __current)
_AdminSessionOperationsgetAdmin in interface _AdminSessionOperations__current - The Current object for the invocation.public Ice.ObjectPrx getAdminCallbackTemplate(Ice.Current __current)
_AdminSessionOperationsgetAdminCallbackTemplate in interface _AdminSessionOperations__current - The Current object for the invocation.public java.lang.String getReplicaName(Ice.Current __current)
_AdminSessionOperationsgetReplicaName in interface _AdminSessionOperations__current - The Current object for the invocation.public void keepAlive(Ice.Current __current)
_AdminSessionOperationskeepAlive in interface _AdminSessionOperations__current - The Current object for the invocation._RegistryOperations.getSessionTimeout(Ice.Current)public FileIteratorPrx openNodeStdErr(java.lang.String name, int count, Ice.Current __current) throws FileNotAvailableException, NodeNotExistException, NodeUnreachableException
_AdminSessionOperationsopenNodeStdErr in interface _AdminSessionOperationsname - The node name.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.NodeNotExistException - Raised if the node doesn't exist.NodeUnreachableException - Raised if the node could not
be reached.public FileIteratorPrx openNodeStdOut(java.lang.String name, int count, Ice.Current __current) throws FileNotAvailableException, NodeNotExistException, NodeUnreachableException
_AdminSessionOperationsopenNodeStdOut in interface _AdminSessionOperationsname - The node name.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.NodeNotExistException - Raised if the node doesn't exist.NodeUnreachableException - Raised if the node could not
be reached.public FileIteratorPrx openRegistryStdErr(java.lang.String name, int count, Ice.Current __current) throws FileNotAvailableException, RegistryNotExistException, RegistryUnreachableException
_AdminSessionOperationsopenRegistryStdErr in interface _AdminSessionOperationsname - The registry name.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.RegistryNotExistException - Raised if the registry
doesn't exist.RegistryUnreachableException - Raised if the registry
could not be reached.public FileIteratorPrx openRegistryStdOut(java.lang.String name, int count, Ice.Current __current) throws FileNotAvailableException, RegistryNotExistException, RegistryUnreachableException
_AdminSessionOperationsopenRegistryStdOut in interface _AdminSessionOperationsname - The registry name.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.FileNotAvailableException - Raised if the file can't be
read.RegistryNotExistException - Raised if the registry
doesn't exist.RegistryUnreachableException - Raised if the registry
could not be reached.public FileIteratorPrx openServerLog(java.lang.String id, java.lang.String path, int count, Ice.Current __current) throws DeploymentException, FileNotAvailableException, NodeUnreachableException, ServerNotExistException
_AdminSessionOperationsopenServerLog in interface _AdminSessionOperationsid - The server id.path - The path of the log file. A log file can be opened
only if it's declared in the server or service deployment
descriptor.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.DeploymentException - Raised if the server couldn't be
deployed on the node.FileNotAvailableException - Raised if the file can't be
read.NodeUnreachableException - Raised if the node could not
be reached.ServerNotExistException - Raised if the server doesn't
exist.public FileIteratorPrx openServerStdErr(java.lang.String id, int count, Ice.Current __current) throws DeploymentException, FileNotAvailableException, NodeUnreachableException, ServerNotExistException
_AdminSessionOperationsopenServerStdErr in interface _AdminSessionOperationsid - The server id.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.DeploymentException - Raised if the server couldn't be
deployed on the node.FileNotAvailableException - Raised if the file can't be
read.NodeUnreachableException - Raised if the node could not
be reached.ServerNotExistException - Raised if the server doesn't
exist.public FileIteratorPrx openServerStdOut(java.lang.String id, int count, Ice.Current __current) throws DeploymentException, FileNotAvailableException, NodeUnreachableException, ServerNotExistException
_AdminSessionOperationsopenServerStdOut in interface _AdminSessionOperationsid - The server id.count - Specifies where to start reading the file. If
negative, the file is read from the begining. If 0 or positive,
the file is read from the last count lines.__current - The Current object for the invocation.DeploymentException - Raised if the server couldn't be
deployed on the node.FileNotAvailableException - Raised if the file can't be
read.NodeUnreachableException - Raised if the node could not
be reached.ServerNotExistException - Raised if the server doesn't
exist.public void setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs, Ice.Current __current) throws ObserverAlreadyRegisteredException
_AdminSessionOperationssetObservers in interface _AdminSessionOperationsregistryObs - The registry observer.nodeObs - The node observer.appObs - The application observer.adptObs - The adapter observer.objObs - The object observer.__current - The Current object for the invocation.ObserverAlreadyRegisteredException - Raised if an
observer is already registered with this registry.public void setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs, Ice.Current __current) throws ObserverAlreadyRegisteredException
_AdminSessionOperationssetObserversByIdentity in interface _AdminSessionOperationsregistryObs - The registry observer identity.nodeObs - The node observer identity.appObs - The application observer.adptObs - The adapter observer.objObs - The object observer.__current - The Current object for the invocation.ObserverAlreadyRegisteredException - Raised if an
observer is already registered with this registry.public int startUpdate(Ice.Current __current) throws AccessDeniedException
_AdminSessionOperationsstartUpdate in interface _AdminSessionOperations__current - The Current object for the invocation.AccessDeniedException - Raised if the exclusive lock can't be
acquired. This might happen if the lock is currently acquired by
another session.