| java.lang.Object org.datashare.objects.DataShareObject
DataShareObject | public class DataShareObject implements java.io.Serializable(Code) | | This is the DataShare data object (as a byte array) that is sent between clients/server (ONLY DataShareObjects
are sent between clients and the DataShareServer). It contains info about who the object should be sent to
('sendToOthers', 'sendToAll', 'sendToClient'- includes a client), but is is only applicable to data channels. This object
can be
sent over the Data or CommandStatus Channels of the DataShare server and clients.
|
KEEPALIVE | final public static int KEEPALIVE(Code) | | |
SENDTOALL | final public static int SENDTOALL(Code) | | |
SENDTOCLIENT | final public static int SENDTOCLIENT(Code) | | |
SENDTOOTHERS | final public static int SENDTOOTHERS(Code) | | |
destinationClientKey | public String destinationClientKey(Code) | | necessary only with SENDTOCLIENT,indicates which client to send data to
|
isControlObject | public boolean isControlObject(Code) | | set only when this instance is used to pass control information in a Data channel,
such as when this instance contains a RequestHistory object or an ActivateConnectionObject.
|
isFromHistory | public boolean isFromHistory(Code) | | set only when this instance is retreived from the history of a channel,
and not when the data has just been generated by an active client
|
objectBytes | public byte[] objectBytes(Code) | | the object that is to sent on to clients (the real data of the object)
|
sendingClientKey | public String sendingClientKey(Code) | | the client that is sending the data
|
serialVersionUID | final static long serialVersionUID(Code) | | this allows us to serialize this class without 'marshalling' errors.
|
DataShareObject | public DataShareObject()(Code) | | constructor, used to insert creation time for this instance, do not use for DataShareObjects
used to provide real data
|
DataShareObject | public DataShareObject(byte[] objectBytes, String sendingClientKey, String destinationClientKey)(Code) | | Constructor, used when creating an object that is going to one specific client
|
DataShareObject | public DataShareObject(byte[] objectBytes, int type, String sendingClientKey)(Code) | | Constructor, used when creating an object that is going to all or others
|
getCreationDate | public Date getCreationDate()(Code) | | returns the creation date for this instance
|
|
|