asjava.uniobjects
Class UniBase

java.lang.Object
  extended byasjava.uniobjects.UniBase
Direct Known Subclasses:
UniCommand, UniFile, UniNLS, UniNLSlocale, UniNLSmap, UniPool, UniSelectList, UniSequentialFile, UniSubroutine, UniTransaction, UniXML

public abstract class UniBase
extends java.lang.Object

UniBase is a base class that will be inherited by other classes

Since:
UNIOBJECTS 1.0
Version:
Version 1.0
Author:
David T. Meeks

Field Summary
 asjava.unirpc.UniRPCPacket inPacket
           
 asjava.unirpc.UniRPCPacket outPacket
           
 asjava.unirpc.UniRPCConnection uniConnection
           
 int uniEncryptionType
           
 UniSession uniParentSession
           
 int uniStatus
           
 
Method Summary
 int getEncryptionType()
          retrieves the current EncryptionType value for this object.
protected  boolean isCommandActive()
          checks to see if a command is in an active state
 void setEncryptionType(int aEncryptType)
          sets up the EncryptionType to be used for client-server communications in this object
 int status()
          returns the status of the last method performed on this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uniConnection

public asjava.unirpc.UniRPCConnection uniConnection

inPacket

public asjava.unirpc.UniRPCPacket inPacket

outPacket

public asjava.unirpc.UniRPCPacket outPacket

uniParentSession

public UniSession uniParentSession

uniEncryptionType

public int uniEncryptionType

uniStatus

public int uniStatus
Method Detail

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
Since:
UNIOBJECTS 1.0

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.
Since:
UNIOBJECTS 1.0
See Also:
setEncryptionType(int)

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
Since:
UNIOBJECTS 1.0
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
Since:
UNIOBJECTS 1.0