Serialized Form


Package com.ibm.tspaces

Class com.ibm.tspaces.ConfigTuple implements Serializable

Class com.ibm.tspaces.Field implements Serializable

Serialized Fields

isFormal

boolean isFormal
The flag to indicate that this Field is formal. This flag has meaning only when the Field is being used in a SuperTuple template.

theName

java.lang.String theName
The name of the Field. A Field name is not mandatory.

theType

java.lang.Class theType
The type of the Field, which can be any arbitrary Java Class.

theTypeString

java.lang.String theTypeString
The named type of the Field, This may be needed at the Server to access the Class definition.

theValue

java.io.Serializable theValue
The value of the Field, which is any arbitrary Java Serializable instance. The value can be null, provided that a Class is specified.

Class com.ibm.tspaces.FieldPS implements Serializable

Class com.ibm.tspaces.Semaphore implements Serializable

Serialized Fields

_val

int _val
the actual semaphore value that should never be less than 0

_waitingFor

SuperTuple _waitingFor
the SuperTuple that holds the command response that is being waited for.

Class com.ibm.tspaces.SubclassableTuple implements Serializable

Class com.ibm.tspaces.SuperTuple implements Serializable

Serialized Fields

_expire

long _expire
Time (in ms) before this Tuple is elgible for expiration. It is set by the setExpire(long ms) method and can be checked by the getExpire() or isExpired() methods The expectation is that the server will do the expiration based on the _timeStamp and expire values.

_fieldTypes

int _fieldTypes
Integer that is the bit vector that indicates the presence or lack thereof of specially types Fields such as the XMLField

_theFields

java.util.Vector _theFields
The ordered collection of Fields.
See Also:
Field

_timeStamp

long _timeStamp
Timestamp of when the Tuple is written on the Server. It is assigned by the server when the SuperTuple is inserted into the TupleSpace. This is persistant across restarts of the server.

_uniqueId

TupleID _uniqueId
unique identifier used for identifieng Tuples. It is assigned by the server when the SuperTuple is inserted into the TupleSpace This TupleID is persistant across restarts of the server.

Class com.ibm.tspaces.SystemTuple implements Serializable

Class com.ibm.tspaces.TSCmdLocalImpl implements Serializable

Serialized Fields

_dispatchGroup

java.lang.ThreadGroup _dispatchGroup
Threadgroup for TSDispatch threads

_dispatchThreadNumber

int _dispatchThreadNumber
the number of dispatch threads we have spawned so far --- so we can give them a unique #

_galaxyTS

com.ibm.tspaces.server.TS _galaxyTS
The TupleSpace of all TupleSpaces maintained by the mother of all TupleSpace Servers.

_password

java.lang.String _password
The password for this TSCmdImpl.

_queue

java.util.Vector _queue
A Vector is used to queue the resultTuples to the CallbackThread

_tspaceClients

java.util.Vector _tspaceClients
List of client transactions connected to this handler

_userName

java.lang.String _userName
The username for this TSCmdImpl .

_validated

boolean _validated

Class com.ibm.tspaces.Tuple implements Serializable

Class com.ibm.tspaces.TupleID implements Serializable

Serialized Fields

_uniqueID

int _uniqueID

Class com.ibm.tspaces.TupleSpaceClientException implements Serializable

Class com.ibm.tspaces.TupleSpaceCommunicationException implements Serializable

Class com.ibm.tspaces.TupleSpaceException implements Serializable

Class com.ibm.tspaces.TupleSpaceServerException implements Serializable

Class com.ibm.tspaces.URLCopy implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream objin)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Implementation of Serializable that will handle the readObject action for the URLCopy object. Action depends on where the method is being run

Server: If this method is being run on the Server then a client has requested to write a tuple that contains a URLCopy object. So the ObjectInpoutStream will contain a copy of the URLCopy object. As part of the serialized URLCopy object is the serialized version of _FileContents which has the externalized version of the File contents. See the FileContents class for more details.

Client: A client has requested to "read/take/scan" a tuple that contains an URLCopy object. The ObjectInputStream only has the current CopyURL object and all we have to do is make a few changes to it so we know that it is a copy of the original object.


writeObject

private void writeObject(java.io.ObjectOutputStream objout)
                  throws java.io.IOException
Implementation of Serializable that will handle the write action for the file pointed to by the URL. Action depends on where the method is being run

Server: If this method is being run on the Server then a client has requested (take/read/scan) a tuple that contains a URLCopy object. We don't have to do anything ???????

Client: A client has done a "write" on a tuple that contains an URLCopy object. So we must copy the contents of the file to the server. Also we will update the URLCopy object with any important HTTP server info. The actual transfer of the data related to the URL will be done when _FileContents is serialized. Because it is declared with implements Externalizable, the writeExternal method for FileContents will be called.

Serialized Fields

_CopyURL

java.net.URL _CopyURL
The URL used to access the URL file that has been copied to the client

_Directory

java.lang.String _Directory
The Directory where a copy of the URL data is placed when copied to a client.

_FileContents

com.ibm.tspaces.FileContents _FileContents
The FileContents class is externalizable and contains readExternal and writeExternal methods. This instance is placed here just so that the readExternal/writeExternal methods get control when the URLCopy object is serialized/deserialized.

_FileName

java.lang.String _FileName
The FileName from the original URL.

_FileOnServer

java.lang.String _FileOnServer
The token used to locate the file on the Server. It is either a filename or something like a database key

_IsCopy

boolean _IsCopy
_IsCopy is set true when the URLCopy object has been copied to another client.

_OnServer

boolean _OnServer
"true" if this URLCopy method is running on a TSpaces server.

_OriginalURL

java.net.URL _OriginalURL
The URL specified by the creating client.

_Retain

long _Retain
Retention period for the file on the server. This will be written to a TupleSpace control entry where it will be used to control cleanup.

_ServerURL

java.net.URL _ServerURL
The URL used to access the data on the server. It will look something like
http://server:8201:/cachedir/file23.bin

Class com.ibm.tspaces.VectorWithEquals implements Serializable

Class com.ibm.tspaces.XMLField implements Serializable

Serialized Fields

_queryResult

java.util.Vector _queryResult
???? proposed XQL Query result This will be filled in with TupleID values that match the XQL query.

_rootTuple

TupleID _rootTuple
TupleID of the internally generated Tuple that is the Root of the tree of Tuples that is created from the XML document.

Class com.ibm.tspaces.XMLTuple implements Serializable


Package com.ibm.tspaces.ac

Class com.ibm.tspaces.ac.TsAcl implements Serializable

Serialized Fields

_aclDB

TsAclDBase _aclDB
The "database" of ACL groups and users.

_AclEntries

java.util.Vector _AclEntries
The collection of AclEntries associted with this Acl.

_Name

java.lang.String _Name
Name associated with this Acl

_Owners

java.util.Vector _Owners
The Principals that have ownership of Acl The user creating the Acl is automatically the first owner.

Class com.ibm.tspaces.ac.TsAclDBase implements Serializable

Serialized Fields

_Principals

java.util.Hashtable _Principals
A Hashtable that stores all of the Principals Principals can be either Users and Groups since there is no real difference between them in the class hierarchy, however one cannot login as a group.

_TopGroup

java.security.acl.Group _TopGroup
The Top group in the hierarchy.

Class com.ibm.tspaces.ac.TsAclEntry implements Serializable

Serialized Fields

_Negative

boolean _Negative
If set true then these are negative permission ie ! Read access

_Permissions

java.util.Vector _Permissions
set of Permissions set for this principal

_User

java.security.Principal _User
This is the Principal (user or group) that the permissions apply for

Class com.ibm.tspaces.ac.TsPermission implements Serializable

Serialized Fields

_Permission

java.lang.String _Permission
Permission value for this Permission object

Class com.ibm.tspaces.ac.TsPrincipal implements Serializable

Serialized Fields

_BelongsTo

java.util.Vector _BelongsTo
Groups that this member belongs to

_Members

java.util.Vector _Members
Members that belong to this principal Any principal cas act as a group

_Name

java.lang.String _Name
Name of this principal


Package com.ibm.tspaces.ac.adminapp

Class com.ibm.tspaces.ac.adminapp.AclEntryEdit implements Serializable

Serialized Fields

_checks

java.util.Vector _checks
GUI Elements

_entry

java.security.acl.AclEntry _entry

_name

java.lang.String _name

_principal

java.security.Principal _principal

_tfName

javax.swing.JTextField _tfName

GENERAL_PERMISSIONS

java.lang.String[] GENERAL_PERMISSIONS
This is a list of standard general permissions that are used to map the command permissions into. So each command can be invoked with some combination of the following. For example, the "take" command might be mapped to {Read,Write}

Class com.ibm.tspaces.ac.adminapp.AclList implements Serializable

Serialized Fields

_aclDB

TsAclDBase _aclDB
ACL database that was read from Admin Space

_aclLabel

javax.swing.JLabel _aclLabel

_aclTable

java.util.Hashtable _aclTable
This Hashtable is used to store the Acl that are associated with the active TupleSpaces. The key is the TupleSpace name.

_admin

TupleSpace _admin
reference to Admin space for current server

_adminUser

java.security.Principal _adminUser
The current user as a Principal

_authChecker

AuthChecker _authChecker
AuthChecker object used to convert Password to the digest key. It also has methods to maintain the Hashtable of Users and Password Keys that is obtained from the Admin Space

_currentAcl

java.security.acl.Acl _currentAcl
Current Acl that is being edited

_displayAcl

javax.swing.JPanel _displayAcl

_list

javax.swing.JList _list
GUI Elements

_listModel

javax.swing.DefaultListModel _listModel
This ListModel impementation has a similar API as a Vector and is used to store the names of the TupleSpaces as determined by reading the ACLs that are stored in the Admin space.

_listSpace

javax.swing.JPanel _listSpace

_modified

boolean _modified
Set true if either the UserTable or TsAclDBase is modified.

_modifiedAcls

java.util.Hashtable _modifiedAcls
Hashtable of ACLs to be rewritten to Admin space when save specified

_table

javax.swing.JTable _table

_tableModel

com.ibm.tspaces.ac.adminapp.AclTableModel _tableModel

_tsName

java.lang.String _tsName
Name of the TupleSpace that this ACL is for

Class com.ibm.tspaces.ac.adminapp.AclTree implements Serializable

Serialized Fields

_aclDB

TsAclDBase _aclDB
ACL database that was read from Admin Space

_authChecker

AuthChecker _authChecker
AuthChecker object used to convert Password to the digest key. It also has methods to maintain the Hashtable of Users and Password Keys that is obtained from the Admin Space

_firstGroup

com.ibm.tspaces.ac.adminapp.AclFolder _firstGroup
Name of first group in hierarchy. use it to do initial expansion

_modified

boolean _modified
Set true if either the UserTable or TsAclDBase is modified.

_tree

javax.swing.JTree _tree

_treeModel

javax.swing.tree.DefaultTreeModel _treeModel

Class com.ibm.tspaces.ac.adminapp.AdminApp implements Serializable

Serialized Fields

_aclDB

TsAclDBase _aclDB
Acl DataBase

_aclList

AclList _aclList
Reference to the application object that manages the list of ACLs

_aclTree

AclTree _aclTree
Reference to the application object that manages the User/Group Hierarchy

_adminTS

TupleSpace _adminTS
TupleSpace object for the Admin Space

_AuthChecker

AuthChecker _AuthChecker
AuthChecker object. We need it to convert passwords to keys and we will let it update the _usrTable

_userTable

java.util.Hashtable _userTable
HashTable that contains the user and passwords

Class com.ibm.tspaces.ac.adminapp.LoginDialog implements Serializable

Serialized Fields

_Host

java.lang.String _Host
User input

_HostField

javax.swing.JTextField _HostField
AWT TextFields for user input

_OK

boolean _OK
This will get set to "true" if the user presses OK otherwise it will remain false.

_Pass

java.lang.String _Pass

_PassField

javax.swing.JPasswordField _PassField

_Port

int _Port

_User

java.lang.String _User

_UserField

javax.swing.JTextField _UserField

outerPanel

javax.swing.JPanel outerPanel
Outer Panel inside dialog box


Package com.ibm.tspaces.examples.copypaste

Class com.ibm.tspaces.examples.copypaste.TClipboard implements Serializable

Serialized Fields

_autoCopyBox

java.awt.Checkbox _autoCopyBox

_autoCopyFlag

boolean _autoCopyFlag

_autoPasteBox

java.awt.Checkbox _autoPasteBox

_autoPasteFlag

boolean _autoPasteFlag

_bufferChoice

java.awt.Choice _bufferChoice

_bufferContents

java.util.Vector _bufferContents

_clipboard

java.awt.datatransfer.Clipboard _clipboard

_contents

java.awt.datatransfer.StringSelection _contents

_currentBuffer

int _currentBuffer

_exitButton

java.awt.Button _exitButton

_localClpBrdContents

java.awt.TextArea _localClpBrdContents

_lostCount

int _lostCount

_lostInactive

boolean _lostInactive

_lostTimer

long _lostTimer

_publishButton

java.awt.Button _publishButton

_readButton

java.awt.Button _readButton

_serverName

java.lang.String _serverName

_spaceName

java.lang.String _spaceName

_ts

TupleSpace _ts

_userName

java.lang.String _userName

_viewButton

java.awt.Button _viewButton

_viewers

java.util.Vector _viewers

Class com.ibm.tspaces.examples.copypaste.TClipboardTuple implements Serializable


Package com.ibm.tspaces.examples.handler

Class com.ibm.tspaces.examples.handler.StaleTimestamp implements Serializable

Class com.ibm.tspaces.examples.handler.StaleTuple implements Serializable

Serialized Fields

_TimeToLive

long _TimeToLive


Package com.ibm.tspaces.examples.mergesort

Class com.ibm.tspaces.examples.mergesort.CountTuple implements Serializable

Class com.ibm.tspaces.examples.mergesort.DataTuple implements Serializable

Class com.ibm.tspaces.examples.mergesort.DoneTuple implements Serializable

Class com.ibm.tspaces.examples.mergesort.Merger implements Serializable

Serialized Fields

_result

java.io.Serializable _result

_tsHost

java.lang.String _tsHost
The Host name where Tuples to be sorted will be found.

_tsName

java.lang.String _tsName

_waitForT1

boolean _waitForT1


Package com.ibm.tspaces.examples.services

Class com.ibm.tspaces.examples.services.Demo.StatusLight implements Serializable

Serialized Fields

actionButton

Demo.ActionButton actionButton

lightButton

Demo.ButtonInterface lightButton

oldStatus

boolean oldStatus

status

boolean status

statusLightUpdater

Demo.StatusLight.StatusLightUpdater statusLightUpdater

this$0

Demo this$0

urlButton

Demo.URLButton urlButton

Class com.ibm.tspaces.examples.services.Pager implements Serializable

Class com.ibm.tspaces.examples.services.PrintText implements Serializable

Serialized Fields

_PrinterCmd

java.lang.String _PrinterCmd

_PrinterDir

java.lang.String _PrinterDir

_PrinterFile

java.lang.String _PrinterFile

_PrinterName

java.lang.String _PrinterName
The following variables are defined in the TServices super class _ServiceType; _ServiceName; _ServiceDescription; _TS _Enabled

Class com.ibm.tspaces.examples.services.SendMail implements Serializable

Serialized Fields

_Host

java.lang.String _Host
The following variables are defined in the TServices super class _ServiceType; _ServiceName; _ServiceDescription; _TS _Enabled

Class com.ibm.tspaces.examples.services.TService implements Serializable

Serialized Fields

_Enabled

boolean _Enabled
The status of the Service.

_NextIn

int _NextIn
Keep track of the slot to store the next element in

_NextOut

int _NextOut
This following variables along with getQ and putQ methods implements a simple FIFO Queue. Thread1 putQ("This could be any Object"); Thread2: String x = (String)getQ(); /** Keep track of next element to give out

_ServiceDescription

java.lang.String _ServiceDescription
The Service Description.

_ServiceName

java.lang.String _ServiceName
The Service Name.

_ServiceType

java.lang.String _ServiceType
The Service Type.

_Slots

java.lang.Object[] _Slots
Slots to keep Queue elements

_TS

TupleSpace _TS
The TupleSpace instance used for Service requests.

Class com.ibm.tspaces.examples.services.TstServer implements Serializable

Class com.ibm.tspaces.examples.services.WorkerTest implements Serializable

Serialized Fields

_tsHost

java.lang.String _tsHost

_tsName

java.lang.String _tsName


Package com.ibm.tspaces.examples.simple

Class com.ibm.tspaces.examples.simple.AppletTst1 implements Serializable

Serialized Fields

_failed

boolean _failed

_msg

java.lang.String _msg

_seqNum

int _seqNum
Sequence number assigned to EventRegister

_ts

TupleSpace _ts
This holds a reference to the current TupleSpace.

appFrame

java.awt.Frame appFrame

Class com.ibm.tspaces.examples.simple.Example4Obj implements Serializable

Serialized Fields

userdata

java.lang.String userdata
data to be serialized with the object

Class com.ibm.tspaces.examples.simple.SuperHeros implements Serializable


Package com.ibm.tspaces.examples.whiteboard

Class com.ibm.tspaces.examples.whiteboard.Whiteboard implements Serializable

Serialized Fields

appFrame

java.awt.Frame appFrame

applet

boolean applet

Error

boolean Error

ErrorMsg

java.lang.String ErrorMsg

wp

java.awt.Panel wp

Class com.ibm.tspaces.examples.whiteboard.WhiteboardControls implements Serializable

Serialized Fields

eraseAllButton

java.awt.Button eraseAllButton

eraseButton

java.awt.Button eraseButton

exitButton

java.awt.Button exitButton

publishButton

java.awt.Button publishButton

target

WhiteboardPanel target

Class com.ibm.tspaces.examples.whiteboard.WhiteboardPanel implements Serializable

Serialized Fields

colorsNew

java.util.Vector colorsNew

colorsOld

java.util.Vector colorsOld

Controls

WhiteboardControls Controls

EraseFlag

boolean EraseFlag

Failed

boolean Failed

Host

java.lang.String Host
This is the Host where the TupleSpace Server is running

linesNew

java.util.Vector linesNew

linesOld

java.util.Vector linesOld

mode

int mode

NotActive

boolean NotActive

Port

int Port
This is the port number for the TupleSpace server. The TupleSpace HTTP Server is at this port +1

TSServer

TupleSpace TSServer
This holds a reference to the current TupleSpace.

whiteboard

Whiteboard whiteboard

x1

int x1

x2

int x2

xl

int xl

y1

int y1

y2

int y2

yl

int yl


Package com.ibm.tspaces.query

Class com.ibm.tspaces.query.AndQuery implements Serializable

Serialized Fields

_lhs

Query _lhs

_rhs

Query _rhs

Class com.ibm.tspaces.query.IndexQuery implements Serializable

Serialized Fields

_indexName

java.lang.String _indexName
Index to be searched.

_searchValue

java.lang.Object _searchValue
The value to match against the index. It could be specified as a Range object.

Class com.ibm.tspaces.query.MatchQuery implements Serializable

Serialized Fields

_tuple

SuperTuple _tuple
The template Tuple that will be matched

Class com.ibm.tspaces.query.OrQuery implements Serializable

Serialized Fields

_lhs

Query _lhs

_rhs

Query _rhs

Class com.ibm.tspaces.query.Range implements Serializable

Serialized Fields

_lowerBound

java.lang.Object _lowerBound
Lower bound of range. Null indicates the lowest value

_upperBound

java.lang.Object _upperBound
Upper bound. Null indicates the highest value

Class com.ibm.tspaces.query.XMLQuery implements Serializable

Serialized Fields

xquery

java.lang.String xquery


Package com.ibm.tspaces.xtuples

Class com.ibm.tspaces.xtuples.TAttr implements Serializable

Serialized Fields

attrName

java.lang.String attrName

attrValue

java.lang.String attrValue

Class com.ibm.tspaces.xtuples.TSXQuery implements Serializable

Serialized Fields

_clientID

java.lang.String _clientID
The Transaction id for this request

_db

com.ibm.tspaces.server.tsmmdb.TSMMDB _db
The database that is being searched

_origTuple

SuperTuple _origTuple

anchored

boolean anchored

path

java.util.Stack path

tupleSet

Tuple tupleSet

Class com.ibm.tspaces.xtuples.TupleTree implements Serializable

Serialized Fields

clientID

java.lang.String clientID
Keeping track of the ClientID for transaction and logging procedures

DTDName

java.lang.String DTDName
Keeping the DTD reference around, for completeness sake

origTupleID

TupleID origTupleID
A TupleID reference to the original XMLField tuple

root

XMLTuple root
A reference to the root of the tree for fast reference

Class com.ibm.tspaces.xtuples.XTuple implements Serializable

Serialized Fields

attributes

java.util.Vector attributes
The vector that stores attributes of the current element inside TAttr objects

childTuples

java.util.Vector childTuples
A vector of TupleID references, each of which points to a child tuple of this tag/tuple.

clientID

java.lang.String clientID
Keeping the clientID helps operations that involve transactions and logging.

parentTuple

TupleID parentTuple
A back reference to the parent tag/tuple

thisTree

TupleTree thisTree
A constant pointer to the TupleTree object that represents the current tree

tupleType

int tupleType
The tag that defines what type of element this tuple represents

Class com.ibm.tspaces.xtuples.XTupleException implements Serializable