public class AoSession extends AoSessionPOA implements AoSession
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AoSession.RefClassDescriptor
Class to compare the objects in the list with references.
|
static class |
AoSession.SessionCloseThread
Thread which deactivate all the objects from the POA.
|
static class |
AoSession.SessionDestroyThread
Thread which has a short delay before the POA will be destroyed after the
close method is finished.
|
| Modifier and Type | Field and Description |
|---|---|
protected long |
cObjPtr |
static int |
DBG_ARG_LEVEL
Method calls arguments will be reported with a DEBUGLEVEL above this value.
|
static int |
DBG_CALL_LEVEL
Method calls will be reported with a DEBUGLEVEL above this value.
|
static int |
DBG_RETURN_LEVEL
Method return will be reported with a DEBUGLEVEL above this value.
|
protected static int |
debugLevel |
protected static java.lang.String |
newLogfileName |
protected java.util.Vector<ODSReadTransfer> |
openReads |
protected java.util.Vector<FileTransactionEntry> |
openTransactions |
protected java.util.Vector<ODSWriteTransfer> |
openWrites |
protected org.omg.PortableServer.POA |
poa
The POA of the session, the POA will be destroyed after the session is
close.
|
protected static java.util.HashMap<java.lang.Long,org.omg.CORBA.Object> |
refCache |
protected long |
sessionCloseThread |
protected java.lang.String |
sessionCreatedTime |
protected int |
sessionNumber |
protected long |
sessionWillCloseThread |
protected java.lang.String |
userName |
protected static boolean |
workerModeActive |
protected static java.lang.String |
workerName |
| Constructor and Description |
|---|
AoSession()
Constructors.
|
AoSession(long cObjPtr)
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result) |
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist) |
org.omg.CORBA.Object |
_duplicate() |
org.omg.CORBA.DomainManager[] |
_get_domain_managers() |
org.omg.CORBA.Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum) |
boolean |
_is_equivalent(org.omg.CORBA.Object other) |
void |
_release() |
org.omg.CORBA.Request |
_request(java.lang.String operation) |
org.omg.CORBA.Object |
_set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) |
void |
abortTransaction()
Abort (rollback) a transaction.
|
boolean |
addFileTransactionEntry(FileTransactionEntry ft)
Add a file transaction to the list of transactions.
|
void |
addReadTransfer(ODSReadTransfer odsReadTransfer)
Add the read transfer to the list of open read transfer for this session.
|
void |
addWriteTransfer(ODSWriteTransfer odsWriteTransfer)
Add the write transfer to the list of open write transfer for this
session.
|
static void |
aktivateWorkerMode() |
void |
checkLicense()
Check if the license of the session is still active.
|
boolean |
checkWrite(java.lang.String filename)
Check if the file use used by this session for write transfer.
|
void |
close()
Close session to an ASAM-ODS server.
|
void |
commitTransaction()
Commit a transaction.
|
Blob |
createBlob()
Create a new object with the Interface Blob on the server.
|
AoSession |
createCoSession()
Create a co-session.
|
QueryEvaluator |
createQueryEvaluator()
Create a QueryEvaluator object.
|
void |
deactivateFromPOA(org.omg.PortableServer.Servant servant)
Deactivate a CORBA servant from the POA.
|
protected void |
finalize() |
void |
flush()
Make the changes permanent.
|
ApplElemAccess |
getApplElemAccess()
Get the application element access object from the current session.
|
ApplicationStructure |
getApplicationStructure()
Get the application structure from the current session.
|
ApplicationStructureValue |
getApplicationStructureValue()
Get the application structure as values from the current session.
|
BaseStructure |
getBaseStructure()
Get the base structure from the current session.
|
NameValueIterator |
getContext(java.lang.String varPattern)
Get context variables from the session.
|
NameValue |
getContextByName(java.lang.String varName)
Get a context variable by its name from the session.
|
java.lang.String |
getCreateDateTime()
Get the date / time the session is created.
|
static int |
getDebugLevel()
Get the debug level.
|
java.lang.String |
getDescription()
Get the description of the ASAM-ODS session.The description of the
session is identical with description of the ASAM-ODS factory.
|
EnumerationAttributeStructure[] |
getEnumerationAttributes()
Get the list with the attributes of all elements and the enumeration name
which has an enumeration.
|
EnumerationStructure[] |
getEnumerationStructure()
Get all enumerations used in the application model.
|
int |
getId()
Get the id of the ASAM-ODS session.
|
java.lang.String[] |
getInfoList(java.lang.String varName)
Get the value of a context variable.
|
static org.omg.CORBA.Object |
getInstance(long cObjPtr)
This method is only called from native code.
|
static org.omg.CORBA.Object |
getInstance(long cObjPtr,
int typeFlags)
This method is only called from native code.
|
short |
getLockMode()
Get the current lock mode.
|
java.lang.String |
getName()
Get the name of the ASAM-ODS session.
|
int |
getNotUsedFlag()
Get the not used flag, the flag will be increased every time the method
is used.
|
int |
getNumberOfUsedObjects()
Get the number of used objects.
|
static int |
getSessionCloseCount()
Get the session close count.
|
int |
getSessionNumber()
Get the number or id of the session.
|
org.omg.CORBA.Object |
getSessionRef()
Get the CORBA session reference.
|
java.lang.String |
getType()
Get the type of the ASAM-ODS session.
|
int |
getTypeFlags() |
int |
getUseInstanceRefCache()
Get flag use instance reference cache.
|
InstanceElement |
getUser()
Returns the instance element of the user logged in, this is the instance
element from the application element derived from AoUser, with the name
given in s given in the 'auth' parameter of the method newSession at the
interface AoFactory (variable USER).
|
java.lang.String |
getUserName()
Get the name of the user logged on to the session
|
static java.lang.String |
getWorkerLogFileSuffix() |
static boolean |
isWorkerMode() |
NameIterator |
listContext(java.lang.String varPattern)
List the names of context variables from the session.
|
java.util.Collection<AvalonDestroyable> |
listDestroyableObjects()
Returns all the destroyable objects which belongs to this session sorted
ascending based on last modification date.
|
UsedObject[] |
listUsedObjects()
Get the list of used objects from the POA map.
|
java.util.List<ValueMatrix> |
listUsedValueMatrixes()
Get the list of used ValueMatrix objects from the POA map.
|
void |
log(java.lang.String msg)
Log the message in the athos log file.
|
int |
readNoAccess()
Read the not used flag, the flag will be increased every time the method
is used.
|
int |
readNotUsedFlag()
Read the not used flag, the flag will be increased every time the method
is used.
|
org.omg.PortableServer.Servant |
referenceToServant(org.omg.CORBA.Object reference)
Convert a CORBA reference to a CORBA servant.
|
void |
removeContext(java.lang.String varPattern)
Remove context variables from the session.
|
void |
removeReadTransfer(ODSReadTransfer odsReadTransfer)
Remove the read transfer from the list of open read transfers.
|
void |
removeWriteTransfer(ODSWriteTransfer odsWriteTransfer)
Remove the write transfer from the list of write read transfers.
|
void |
resetNotUsedFlag()
Reset the not used flag, the flag will be increased every time the flag
method is used.
|
void |
restoreReadFlags()
Restore the read flag value.
|
void |
saveReadFlags()
Save the current values of the read flags.
|
org.omg.CORBA.Object |
servantToReference(org.omg.PortableServer.Servant servant)
Convert a CORBA servant to a CORBA reference.
|
void |
setContext(NameValue contextVariable)
Set/modify a known context variable or add a new context variable to the
session.
|
void |
setContextString(java.lang.String varName,
java.lang.String value)
Set/modify a known context variable or add a new context variable to the
session.
|
void |
setCurrentInitialRights(InitialRight[] irlEntries,
boolean set)
Every new created instance will set its initial rights to 'acl'.
|
static void |
setDebugLevel(int level)
Set the debug level.
|
void |
setLockMode(short lockMode)
Set the new lock mode.
|
void |
setPassword(java.lang.String username,
java.lang.String oldPassword,
java.lang.String newPassword)
Change the password for user defined by 'username' to 'newPassword'.
|
static void |
setSessionNotificationEventManager(SessionNotificationEventManager sessionNotificationEventManager)
Set the session notification event manager
|
void |
setUserType(SessionUserType userType)
Set/modify the user type of the session.
|
static void |
setWorkerLogFileSuffix(java.lang.String workerLogFile) |
void |
startTransaction()
Start a transaction on the physical storage system (e.g. database
system).
|
_all_interfaces, _invoke, _this, _this_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_objectprotected static int debugLevel
protected static boolean workerModeActive
protected static java.lang.String workerName
protected static java.lang.String newLogfileName
protected static java.util.HashMap<java.lang.Long,org.omg.CORBA.Object> refCache
protected long cObjPtr
protected java.util.Vector<ODSReadTransfer> openReads
protected java.util.Vector<ODSWriteTransfer> openWrites
protected java.util.Vector<FileTransactionEntry> openTransactions
protected int sessionNumber
protected java.lang.String sessionCreatedTime
protected org.omg.PortableServer.POA poa
public static final int DBG_CALL_LEVEL
public static final int DBG_RETURN_LEVEL
public static final int DBG_ARG_LEVEL
protected java.lang.String userName
protected long sessionCloseThread
protected long sessionWillCloseThread
public AoSession()
public AoSession(long cObjPtr)
cObjPtr - the C-Object pointer.public int getTypeFlags()
public org.omg.CORBA.Object getSessionRef()
public static int getSessionCloseCount()
public static void setDebugLevel(int level)
level - the new DEBUGLEVEL.public static int getDebugLevel()
public static java.lang.String getWorkerLogFileSuffix()
public static void setWorkerLogFileSuffix(java.lang.String workerLogFile)
Set - the name of the Avalon Workerpublic static boolean isWorkerMode()
public static void aktivateWorkerMode()
Set - Avalon worker mode to truepublic static void setSessionNotificationEventManager(SessionNotificationEventManager sessionNotificationEventManager)
public org.omg.CORBA.Object servantToReference(org.omg.PortableServer.Servant servant)
servant - The servant to be converted to a reference.public org.omg.PortableServer.Servant referenceToServant(org.omg.CORBA.Object reference)
reference - The reference to be converted to a servant.public void deactivateFromPOA(org.omg.PortableServer.Servant servant)
servant - The servant to be converted to a reference.public static org.omg.CORBA.Object getInstance(long cObjPtr,
int typeFlags)
cObjPtr - the C-Object pointer.typeFlags - The flags that are used to serialize the newly created object.public static org.omg.CORBA.Object getInstance(long cObjPtr)
cObjPtr - the C-Object pointer.public java.lang.String getCreateDateTime()
public int getNumberOfUsedObjects()
public int getUseInstanceRefCache()
public int getNotUsedFlag()
Also every not-used flag of any AvalonDestroyable descendent of
this session will incremented.
public java.util.Collection<AvalonDestroyable> listDestroyableObjects()
public int readNotUsedFlag()
public int readNoAccess()
public void saveReadFlags()
public void restoreReadFlags()
public int getSessionNumber()
getId()public java.lang.String getUserName()
throws AoException
AoException - any occurring ASAM ODS exception.public void resetNotUsedFlag()
throws AoException
AoExceptionpublic void abortTransaction()
throws AoException
abortTransaction in interface AoSessionOperationsAoException - with the following possible error codes: AO_ACCESS_DENIED
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic boolean checkWrite(java.lang.String filename)
filename - the filenamepublic void close()
throws AoException
close in interface AoSessionOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void commitTransaction()
throws AoException
commitTransaction in interface AoSessionOperationsAoException - with the following possible error codes: AO_ACCESS_DENIED
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic ApplicationStructure getApplicationStructure() throws AoException
getApplicationStructure in interface AoSessionOperationsAoException - with the following possible error codes: AO_ACCESS_DENIED
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic AoSession createCoSession() throws AoException
createCoSession in interface AoSessionOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_ACCESS_DENIEDpublic ApplicationStructureValue getApplicationStructureValue() throws AoException
getApplicationStructureValue in interface AoSessionOperationsAoException - with the following possible error codes: AO_ACCESS_DENIED
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic BaseStructure getBaseStructure() throws AoException
getBaseStructure in interface AoSessionOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic NameValueIterator getContext(java.lang.String varPattern) throws AoException
getContext in interface AoSessionOperationsvarPattern - The name or the search pattern for the context variable(s).AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM AO_NOT_FOUND
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic NameValue getContextByName(java.lang.String varName) throws AoException
getContextByName in interface AoSessionOperationsvarName - The name of the requested context variable.
| Property Keyword | Datatype | Default | Description |
|---|---|---|---|
| Avalon.NumberOfSession | Integer | no | The current number of open sessions. |
| Avalon.MaxNumberOfSession | Integer | no | The maximum number of concurrent sessions. |
AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM AO_NOT_FOUND
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic InstanceElement getUser() throws AoException
getUser in interface AoSessionOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORYpublic NameIterator listContext(java.lang.String varPattern) throws AoException
listContext in interface AoSessionOperationsvarPattern - The name or the search pattern for the context variable(s).AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NOT_FOUND AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void removeContext(java.lang.String varPattern)
throws AoException
removeContext in interface AoSessionOperationsvarPattern - The name or the search pattern for the context variable(s) to
be removed.AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NOT_FOUND AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setContext(NameValue contextVariable) throws AoException
setContext in interface AoSessionOperationscontextVariable - The context variable.AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic void setContextString(java.lang.String varName,
java.lang.String value)
throws AoException
setContextString in interface AoSessionOperationsvarName - The name of the context variable.value - The value of the context variable.
| Property Keyword | Datatype | Default | Description |
|---|---|---|---|
| Avalon.StopServer | String | no | This is a special context variable for the Avalon server, to stop the server at the next session checkout, when no session are active anymore. |
AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic void log(java.lang.String msg)
msg - the message.public boolean addFileTransactionEntry(FileTransactionEntry ft)
ft - the file transaction.public void startTransaction()
throws AoException
startTransaction in interface AoSessionOperationsAoException - with the following possible error codes: AO_ACCESS_DENIED
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_ALREADY_ACTIVEpublic void flush()
throws AoException
flush in interface AoSessionOperationsAoException - with the following possible error codes: AO_ACCESS_DENIED
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_ALREADY_ACTIVEpublic void setCurrentInitialRights(InitialRight[] irlEntries, boolean set) throws AoException
setCurrentInitialRights in interface AoSessionOperationsirlEntries - The current initial rights.set - Set (1) or remove (0) the current initial rights. The previous
initial rights get lost. If the parameter set is 0 (remove)
the parameter irlEntries will be ignored.AoException - with the following possible error codes: AO_ACCESS_DENIED
AO_BAD_PARAMETER AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic short getLockMode()
throws AoException
getLockMode in interface AoSessionOperationsAoException - with the following possible error codes: AO_ACCESS_DENIED
AO_BAD_PARAMETER AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void setLockMode(short lockMode)
throws AoException
setLockMode in interface AoSessionOperationslockMode - The new lock mode. The lock mode constants are defined in the
interface LockMode. The interface definition language IDL does
not allow to set the values of enumerations thus the constant
definitions had to be done in an interface.AoException - with the following possible error codes: AO_ACCESS_DENIED
AO_BAD_PARAMETER AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic ApplElemAccess getApplElemAccess() throws AoException
getApplElemAccess in interface AoSessionOperationsAoException - with the following possible error codes: AO_ACCESS_DENIED
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic void setPassword(java.lang.String username,
java.lang.String oldPassword,
java.lang.String newPassword)
throws AoException
setPassword in interface AoSessionOperationsusername - The name of the user for which the password will be changed.
If no username is given the password of the current user will
be changed. If the username differs from the current user the
current user must be a superuser.oldPassword - The current password of the user. A normal user must supply
his current password. The superuser can change the password
without supplying the current password.newPassword - The new password of the user.AoException - with the following possible error codes: AO_ACCESS_DENIED
AO_BAD_PARAMETER AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVE AO_WRONG_PASSWORDpublic java.lang.String getDescription()
throws AoException
getDescription in interface AoSessionOperationsAoException - with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE AO_CONNECTION_LOSTpublic java.lang.String getName()
throws AoException
getName in interface AoSessionOperationsAoException - with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE AO_CONNECTION_LOSTpublic java.lang.String getType()
throws AoException
getType in interface AoSessionOperationsAoException - with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE AO_CONNECTION_LOSTpublic int getId()
throws AoException
getId in interface AoSessionOperationsAoException - with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE AO_CONNECTION_LOSTpublic QueryEvaluator createQueryEvaluator() throws AoException
createQueryEvaluator in interface AoSessionOperationsAoException - with the following possible error codes: AO_ACCESS_DENIED
AO_BAD_PARAMETER AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic Blob createBlob() throws AoException
createBlob in interface AoSessionOperationsAoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic void checkLicense()
throws AoException
AoExceptionprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic UsedObject[] listUsedObjects()
public java.util.List<ValueMatrix> listUsedValueMatrixes()
public java.lang.String[] getInfoList(java.lang.String varName)
throws AoException
varName - The name of the context variable.AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_NOT_FOUNDpublic org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result)
_create_request in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist)
_create_request in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Object _duplicate()
_duplicate in interface org.omg.CORBA.Objectpublic org.omg.CORBA.DomainManager[] _get_domain_managers()
_get_domain_managers in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Policy _get_policy(int policy_type)
_get_policy in interface org.omg.CORBA.Objectpublic int _hash(int maximum)
_hash in interface org.omg.CORBA.Objectpublic boolean _is_equivalent(org.omg.CORBA.Object other)
_is_equivalent in interface org.omg.CORBA.Objectpublic void _release()
_release in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Request _request(java.lang.String operation)
_request in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add)
_set_policy_override in interface org.omg.CORBA.Objectpublic EnumerationAttributeStructure[] getEnumerationAttributes() throws AoException
getEnumerationAttributes in interface AoSessionOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic EnumerationStructure[] getEnumerationStructure() throws AoException
getEnumerationStructure in interface AoSessionOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void addReadTransfer(ODSReadTransfer odsReadTransfer)
odsReadTransfer - the read transferpublic void removeReadTransfer(ODSReadTransfer odsReadTransfer)
odsReadTransfer - teh read transfer.public void addWriteTransfer(ODSWriteTransfer odsWriteTransfer)
odsWriteTransfer - the write transferpublic void removeWriteTransfer(ODSWriteTransfer odsWriteTransfer)
odsWriteTransfer - teh write transfer.public void setUserType(SessionUserType userType) throws AoException
userType - The user type for the session.AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE