All Packages Class Hierarchy This Package Previous Next Index
Class asjava.uniobjects.UniBase
java.lang.Object
|
+----asjava.uniobjects.UniBase
- public abstract class UniBase
- extends Object
UniBase
is a base class that will be inherited by other classes
- Version:
- Version 1.0
- Author:
- David T. Meeks
-
inPacket
-
-
outPacket
-
-
uniConnection
-
-
uniEncryptionType
-
-
uniParentSession
-
-
uniStatus
-
-
getEncryptionType()
-
retrieves the current EncryptionType value for this object.
-
isCommandActive()
- checks to see if a command is in an active state
-
setEncryptionType(int)
-
sets up the EncryptionType to be used for client-server communications in this object
-
status()
- returns the status of the last method performed on this object.
uniConnection
public UniRPCConnection uniConnection
inPacket
public UniRPCPacket inPacket
outPacket
public UniRPCPacket outPacket
uniParentSession
public UniSession uniParentSession
uniEncryptionType
public int uniEncryptionType
uniStatus
public int uniStatus
status
public int status()
- returns the status of the last method performed on this object. See individual classes for
potential return values
- Returns:
- integer representing the status of any given command. See the individual
methods for more details
getEncryptionType
public int getEncryptionType()
- retrieves the current EncryptionType value for this object. It can be set with the
setEncryptionType
method to override the UniSession
default
EncryptionType.
- Returns:
- integer value representing the current EncryptionType for this object.
- See Also:
- setEncryptionType
setEncryptionType
public void setEncryptionType(int aEncryptType)
- sets up the EncryptionType to be used for client-server communications in this object
- Parameters:
- aEncryptType - integer representing which type of encryption is to be used. 0 disables encryption
- See Also:
- getEncryptionType
isCommandActive
protected boolean isCommandActive()
- checks to see if a command is in an active state
- Returns:
- boolean stating whether we are in the middle of a command execution or not
All Packages Class Hierarchy This Package Previous Next Index