Serialized Form
fr
float fr
he
int he
- preferred width & height
image
java.awt.Image image
wi
int wi
- multiple frames packed together into a gif89 file
he
int he
- preferred width & height
image
java.awt.Image image
wi
int wi
input
java.awt.TextField input
nobut
java.awt.Button nobut
result
boolean result
- Contains true if yes pressed, false otherwise
visible
boolean visible
- Is true when dialog is hidden.
yesbut
java.awt.Button yesbut
okbut
java.awt.Button okbut
textArea
java.awt.TextArea textArea
okButton
java.awt.Button okButton
textArea
java.awt.TextArea textArea
Metric
long Metric
- Associated metric. Maybe should be more than just a number.
Node1
int Node1
- First node of the connection.
Node2
int Node2
- Second node of this connection.
TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
Serialized Fields |
data
byte[] data
inc
long inc
offGraphics
java.awt.Graphics offGraphics
offImage
java.awt.Image offImage
scrtxt
java.lang.String scrtxt
steps
long steps
sx
long sx
sy
long sy
Created
long Created
- A object creation timestamp in ms that should be taken from a timebase
that characterizes this object. This may also be a absolute UTC time
based in midnight Jan the 1st 1970.
already
long already
io
long io
laststart
long laststart
runs
boolean runs
nobut
java.awt.Button nobut
result
boolean result
- Contains true if yes pressed, false otherwise
yesbut
java.awt.Button yesbut
client
Client client
clientName
java.lang.String clientName
serverid
java.lang.String serverid
Active
boolean Active
- Is this entity started ?
eifq_read
boolean eifq_read
eifq_write
boolean eifq_write
groups
SimpleSet groups
id
EntityID id
InMessageHandler
MessageHandler InMessageHandler
InMessageQueue
SimpleQueue InMessageQueue
- The incomming message queue fed through the TCPIPReadThread coupled
with the default message handler. If the default handler is changed
this might not be used anymore !!!
is
java.io.InputStream is
os
java.io.OutputStream os
OutMessageQueue
SimpleQueue OutMessageQueue
- The outgoing message queue which is watched by the TCPIPReadThread and
each inserted message gets sent.
ReadThread
TCPIPReadThread ReadThread
rtsleep
long rtsleep
socket
java.net.Socket socket
- Contains the socket this entity has attached.
In the case the entity is used inside a client, this is the socket to
the server, in the case the entity is used inside the server, the socket
is the socket that links to the client.
WriteThread
TCPIPWriteThread WriteThread
wtsleep
long wtsleep
broadcastGroup
GroupID broadcastGroup
- This variable does not count inside the entity, the hashCode returns
a value that doesn't depend on this, two EntityID objects are equal
even if this value is different. This is used only in special cases
like when Name == GROUP_BROADCAST then this is
the group that is subject to the broadcast etc.
clientAddress
java.net.InetAddress clientAddress
- This address is actually filled in by the server and send back
to the client. It defines the client's address as seen by the server.
This variable does not count inside the entity, the hashCode returns
a value that doesn't depend on this, two EntityID objects are equal
even if this value is different.
clientPort
long clientPort
- This defines the port which the client used to connect to the
server. It is filled in by the server and sent back to the client.
This variable does not count inside the entity, the hashCode returns
a value that doesn't depend on this, two EntityID objects are equal
even if this value is different.
Name
java.lang.String Name
- The entity's name inside the server. Unique/entity/serverid.
This should be mainly the username used in login.
serverID
ServerID serverID
- The ServerID of this entity's server.
If null then it's the current server.
traceServerID
ServerID[] traceServerID
- NOT USED YET.
This is used in the migration mechanism to store the ServerID's
of the servers where this entity lived in. If it's not a migrating
entity it has to be null. Otherwise the first element at index 0
has to be the server where the entity originates.
Name
java.lang.String Name
- The group's name inside the medium. Unique/group/serverid.
serverID
ServerID serverID
- The ServerID of this groups's server.
If null then this group is defined global in the whole medium.
dataHolder
java.util.Vector dataHolder
- The actual message data.
We use a Vector instead of an Object in order to serialize ok.
Destination
EntityID Destination
- Destination entity. See Sender.
otherDestinations
EntityID[] otherDestinations
- This field is not supposed to be supported by all servers.
A server should support this if it is non-null and to send
this message ALSO to the destinations defined here, AFTER
creating a new copy message with the .Destination field
set to the destination and this set to null in order NOT to
allow the destination to see the other destinations of this message.
This facility is some sort of subgrouping but at client's side.
It optimises bandwith etc.
Sender
EntityID Sender
- The Sender is a object determining a certain id (Long etc.)
of the sending entity inside the virtual medium.
TimeStamp
long TimeStamp
- This is used mainly in time sync between server & entity.
Type
java.lang.String Type
- A certain stamp on the object that determines it's type.
Host
java.lang.String Host
- The host on which this entity runs.
We recomend to use inet addresses in 4 digit decimal 3 dot
notation for this. (Ex. 193.226.143.17)
Port
long Port
- The port on which this entity's server runs.
If 0 then it's the current server.
Protocol
java.lang.String Protocol
- The protocol by which this entity is accessible.
Not used yet.