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

Variable Index

 o inPacket
 o outPacket
 o uniConnection
 o uniEncryptionType
 o uniParentSession
 o uniStatus

Method Index

 o getEncryptionType()
retrieves the current EncryptionType value for this object.
 o isCommandActive()
checks to see if a command is in an active state
 o setEncryptionType(int)
sets up the EncryptionType to be used for client-server communications in this object
 o status()
returns the status of the last method performed on this object.

Variables

 o uniConnection
 public UniRPCConnection uniConnection
 o inPacket
 public UniRPCPacket inPacket
 o outPacket
 public UniRPCPacket outPacket
 o uniParentSession
 public UniSession uniParentSession
 o uniEncryptionType
 public int uniEncryptionType
 o uniStatus
 public int uniStatus

Methods

 o 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
 o 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
 o 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
 o 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