Serialized Form
Package net.hivecell.hive.agent |
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Handle deserialization
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Handle serialization requests.
commandList
java.util.Vector commandList
- Hashtable of CommandObjects
commands
java.util.Hashtable commands
- Hashtable and list for the popup menu items or their
non-graphical equivalents.
description
Description description
- Pointer to my XML description.
icon
SerializableImage icon
- The icon that represents this agent. Should be loaded at create time.
iconName
java.lang.String iconName
- the name of the icon file
exception
java.lang.Exception exception
exception
java.lang.Exception exception
agentRequestKeys
java.util.Enumeration agentRequestKeys
- i have no clue what this variable is -- raffi
agentSongMap
java.util.Hashtable agentSongMap
- the song map we are going to use
continuous
boolean continuous
- whether we are in continuous mode or not
nextSong
java.lang.String nextSong
- the next song we are going to play
playableSongList
java.util.Vector playableSongList
- What songs can this agent play?
playingSongNow
boolean playingSongNow
- whether the shadow is playing a song now
useDescGunk
boolean useDescGunk
- some hack from nelson
shadowType
java.lang.String shadowType
Package net.hivecell.hive.agent.cell |
agentsToCellAddresses
java.util.Hashtable agentsToCellAddresses
- a hastable mapping agents to cell addresses
agentsToDescriptions
java.util.Hashtable agentsToDescriptions
- a hashtable mapping agents to descriptions
agentsToEventMaskWrapper
java.util.Hashtable agentsToEventMaskWrapper
- mapping between agents and their event mask wrappers
agentsToIncoming
java.util.Hashtable agentsToIncoming
- a hashtable mapping agents to vectors of agents which are
incoming
agentsToOutgoing
java.util.Hashtable agentsToOutgoing
- a hashtable mapping agents to vectors of agents which are
outgoing
beginningMonitor
java.util.Vector beginningMonitor
- these are cells that we are in the process of monitoring
cellAddressesToAgents
java.util.Hashtable cellAddressesToAgents
- a hashtable mapping cell addresses to vectors containsing
agents
cellAddressToAgentMonitoringAgent
java.util.Hashtable cellAddressToAgentMonitoringAgent
- a mappging from cell addresses to the agent monitoring agent on
that cell
cellAddressToRemoteCell
java.util.Hashtable cellAddressToRemoteCell
- a mapping from cell addresses to remote cells so we don't have
to make the remote call every single time
cellsMonitored
java.util.Hashtable cellsMonitored
- these are the cells that we are monitoring -- these are
actually to be a mapping between cell addresses to vectors of
agents which are asking to monitor
dataLockingObject
java.lang.Object dataLockingObject
- this is just the object we are synchronzing on whenever trying
to read or change the state
eventLogEnd
int eventLogEnd
eventLogFront
int eventLogFront
knownAgents
java.util.Vector knownAgents
- these are agents that we "know" about, these agents may or may
not be in the other cache information (but if they are in one
of the cache information, they are in all of them). if an
agent is in here, but not in the rest of the data objects, then
that means that we got a remote exception or something when
trying to query for more information.
subscriptions
java.util.Hashtable subscriptions
- a hashtable mapping event mask wrappers which are subscribing
to an array of cell addresses that they are subscribing to. an
agent can be in here, but map to a null array which means that
all events to go to it. its different from being mapped to an
array with 0 elements -- that means that it is subscribed, but
receives nothing (don't know why you would want to do thta
cellControl
CellControlShadow cellControl
- Our hook to the server's CellControlShadow
master
boolean master
- Is this agent a master? Controls its behaviour..
pingCall
AsyncCall pingCall
- The object we use when making ping calls.
pingFrequency
int pingFrequency
- How often to ping servers, multiply by updateInterval
pingTimeout
int pingTimeout
- How long to wait for ping, in milliseconds. Negative means forever.
updateInterval
int updateInterval
- How often to update the display.
address
CellAddress address
- the URL for the server
lastInfo
long lastInfo
- how stale the information about this server is. Time in MS
server
RemoteCell server
- the server stub, if server is up
up
boolean up
- Is the server up?
thrownException
java.lang.Exception thrownException
a
Agent a
Package net.hivecell.hive.agent.desktop |
audio
sun.applet.AppletAudioClip audio
audioURL
java.lang.String audioURL
chatFrame
java.awt.Frame chatFrame
chatUserName
java.lang.String chatUserName
connectedList
java.util.Vector connectedList
myChatServer
ChatGroupServerAgent myChatServer
privateList
java.util.Vector privateList
textColor
java.util.Hashtable textColor
textStyle
java.util.Hashtable textStyle
UID
int UID
useSwing
boolean useSwing
chatAgents
java.util.Vector chatAgents
groupName
java.lang.String groupName
isPrivate
boolean isPrivate
message
java.lang.String message
sender
EventSendingAgent sender
sname
java.lang.String sname
buttonColor
java.awt.Color buttonColor
- the color that we are using for the button
creditsPosition
int creditsPosition
intraCreditsPosition
int intraCreditsPosition
teamImage
SerializableImage teamImage
updateInterval
int updateInterval
color
int color
colorMax
int colorMax
drawnColor
int drawnColor
drawnSize
int drawnSize
size
int size
isaCellAddress
CellAddress isaCellAddress
cms
ComponentManagerShadow cms
currentEventIn
int currentEventIn
echoAgent
EchoAgent echoAgent
eventsIn
HiveEvent[] eventsIn
eventsInTime
java.lang.Long[] eventsInTime
hostToTest
javax.swing.JTextField hostToTest
runningTest
boolean runningTest
testingAddress
CellAddress testingAddress
eventObject
java.lang.Object eventObject
pulseInterval
int pulseInterval
buttons
java.util.Hashtable buttons
currentSong
int currentSong
ma
MusicPlayingAgent ma
playList
java.util.Vector playList
skin
PPM skin
delay
int delay
highthreshold
double highthreshold
loadDefaultValues
boolean loadDefaultValues
lowthreshold
double lowthreshold
netchangehighthreshold
double netchangehighthreshold
netchangelowthreshold
double netchangelowthreshold
symbol
java.lang.String symbol
color
float color
x
float x
y
float y
updateInterval
int updateInterval
agent
RandomDotAgentImpl agent
colors
java.awt.Color[] colors
dots
java.util.Vector dots
scaleFactor
float scaleFactor
updateInterval
int updateInterval
barInterval
float barInterval
legend
java.lang.String legend
legendBox
java.awt.Rectangle legendBox
legendFont
java.awt.Font legendFont
legendPos
java.awt.Point legendPos
legendSize
java.awt.Dimension legendSize
scan
int scan
values
float[] values
dr
float dr
- The rate at which the spoke length is changing.
dtheta
float dtheta
- The rate at which the spoke angle is changing.
r
float r
- The length of the spoke, should be between 0 and 1.
theta
float theta
- The angle of the spoke, should be between 0 and 2*pi.
updateInterval
int updateInterval
ballImage
java.awt.Image ballImage
- An image used to represent a ball. Loaded from ballImageData array.
spokes
java.util.Vector spokes
- a list of all the spokes we are drawing. Contains SpokeData objs.
eventCounter
int eventCounter
eventsIn
HiveEvent[] eventsIn
eventsInTime
java.lang.Long[] eventsInTime
tta
EventTransceivingAgent tta
cms
ComponentManagerShadow cms
hostToTest
javax.swing.JTextField hostToTest
tca
EventTransceivingAgent tca
testingAddress
CellAddress testingAddress
idToPoint
java.util.Hashtable idToPoint
Package net.hivecell.hive.agent.filter |
valueObject
java.lang.Integer valueObject
valueToSend
int valueToSend
continuous
boolean continuous
lastsong
java.lang.String lastsong
translatorTable
java.util.Hashtable translatorTable
averageWindow
int averageWindow
eventCounts
int[] eventCounts
eventCountScan
int eventCountScan
historyLength
int historyLength
lastValidNumber
int lastValidNumber
movingAverage
float movingAverage
Package net.hivecell.hive.agent.games.hunter |
acms
ComponentManagerShadow acms
homeAddress
CellAddress homeAddress
lastKnown
CellAddress lastKnown
message
java.lang.String message
Package net.hivecell.hive.agent.hiveui |
cms
ComponentManagerShadow cms
- a handle to the CMS so we don't need to look it up every time.
acms
ComponentManagerShadow acms
- a handle to the ACMS so we don't need to look it up every time.
cms
ComponentManagerShadow cms
- a handle to the CMS so we don't need to look it up every time.
ag
AgentGraph ag
- our copy of the agent graph -- this graph is constructed from
the differential information that we get from the agent
monitoring agent -- do NOT modify this graph -- please only read
it
agentAddresses
java.util.Hashtable agentAddresses
ama
AgentMonitoringAgent ama
cellControlAgents
java.util.Hashtable cellControlAgents
menu
TopMenu menu
monitoredCells
java.util.Vector monitoredCells
unknownAgentIcon
SerializableImage unknownAgentIcon
- a helper function that will get the icon for a certain agent --
this will go pretty hardcore to get an image. it will first
query the agent monitoring agent for an image, if that fails it
will ask the agent itself, and if that fails it will go and get
a default icon to use
variablePropertyManipulators
java.util.Hashtable variablePropertyManipulators
- a mapping between agents and their BeanManipulators -- this way
we do not need to go through reflection all those times
error
java.lang.Exception error
Package net.hivecell.hive.agent.hiveui.iconicui |
connectFromIcon
BaseAgentIcon connectFromIcon
dragGraphics
java.awt.Graphics dragGraphics
iconDragOffset
java.awt.Point iconDragOffset
lastDragLocation
java.awt.Point lastDragLocation
layout
BaseLayoutManager layout
menuState
int menuState
mouseButtonForDrag
int mouseButtonForDrag
mousePressLocation
java.awt.Point mousePressLocation
selectedIcon
BaseAgentIcon selectedIcon
uiAgent
BaseUIAgentImpl uiAgent
cellColors
java.util.Hashtable cellColors
cellInfo
java.util.Hashtable cellInfo
cellRects
java.util.Hashtable cellRects
monitoredCells
java.util.Vector monitoredCells
orderedCells
java.util.Vector orderedCells
rectSize
java.awt.Dimension rectSize
selectedCell
CellAddress selectedCell
shortNames
java.util.Hashtable shortNames
uiAgent
BaseGUIAgentImpl uiAgent
unmonitoredCellColor
java.awt.Color unmonitoredCellColor
cla
CellListAgent cla
clc
CellListCanvas clc
frame
java.awt.Frame frame
gbcs
java.awt.GridBagConstraints gbcs
layout
IconicUILayoutManager layout
messageBuffer
java.lang.String messageBuffer
- This is needed because of an error when messages are appended
to the message window before it has been popped up. This catches
all messages that are sent when the message window isn't visible
so that they can be printed when it is.
messageWindow
java.awt.TextArea messageWindow
renderCellAgents
boolean renderCellAgents
- this is the flag that will tell this UI whether to render
server agents or not
uiCanvas
IconicUICanvas uiCanvas
uiPanel
java.awt.Panel uiPanel
animIcons
boolean animIcons
dontRender
boolean dontRender
smallIcons
java.util.Hashtable smallIcons
smallSize
java.awt.Dimension smallSize
updateThread
java.lang.Thread updateThread
Package net.hivecell.hive.agent.hiveui.remoteui |
buttons
java.util.Hashtable buttons
- this hashtable maps the agent to its button
cards
java.util.Hashtable cards
- this hashtable maps cell addresses to panels which will have
the buttons for each agent
cl
java.awt.CardLayout cl
cms
ComponentManagerShadow cms
- the component manager shadow
esh
EventSendingHelper esh
- the event sending helper we will use to send events to the
proper agents
frame
javax.swing.JFrame frame
- the frame
panel
javax.swing.JPanel panel
- the top most panel -- this contains the card layout which
contains the other cells
Package net.hivecell.hive.agent.hiveui.treeui |
cellControlAgents
java.util.Hashtable cellControlAgents
- store our server control agents to the different servers so we
can command the agents on the servers
frame
javax.swing.JFrame frame
gtf
net.hivecell.hive.agent.hiveui.treeui.GraphTreeFilterer gtf
- the class that we are using to filter our information into the
jtree
panel
javax.swing.JPanel panel
scrollPane
javax.swing.JScrollPane scrollPane
Package net.hivecell.hive.agent.image |
shadow
QuickCam shadow
- The actual camera shadow
blueMax
int blueMax
blueMean
int blueMean
blueMin
int blueMin
blueTot
float blueTot
contrast
float contrast
greenMax
int greenMax
greenMean
int greenMean
greenMin
int greenMin
greenTot
float greenTot
nPixels
int nPixels
redMax
int redMax
redMean
int redMean
redMin
int redMin
redTot
float redTot
fcs
net.hivecell.hive.agent.image.FakeCameraSource fcs
- The shadow fake camera source
fetchQ
<>Queue fetchQ
- This Queue handles the images waiting to be fetched.
filterQ
<>Queue filterQ
- This Queue handles any images waiting to be filtered.
requested
int requested
- The index of the most recently requested image. Used to determine whether more images need to be generated.
displayCanvas
ImageDisplayCanvas displayCanvas
- The actual canvas on which to display the image.
font
java.awt.Font font
- The font to display the pending notification.
image
java.awt.Image image
- The image currently displayed.
imageDim
java.awt.Dimension imageDim
- The size of the current image.
pending
boolean pending
- Whether or not an image is pending currently.
busy
boolean busy
- Is the image source busy? The rules for how this flag are set are implementation dependent.
rb
ImageRingBuffer rb
- The buffer where images are stored.
last
SerializableImage last
threshold
double threshold
last
SerializableImage last
configured
boolean configured
- Is the agent configured?
imageURL
java.lang.String imageURL
- The URL to get the image from.
Package net.hivecell.hive.agent.service |
ama
AgentMonitoringAgent ama
- our hook to our local agent monitoring agent to send our commands to
sla
CellListAgent sla
- the server list agent we need to subscribe to to get our server events
Package net.hivecell.hive.agent.thing |
defaultByte
byte defaultByte
shadowName
java.lang.String shadowName
- The name of the shadow for crickets.
Package net.hivecell.hive.agent.wearable |
closestCam
Agent closestCam
counter
int counter
esh
EventSendingHelper esh
idai
ImageDisplayAgentImpl idai
idToURL
java.util.Hashtable idToURL
lastEventReceivedTime
int lastEventReceivedTime
- Milliseconds since last event was received.
lastLocPerceived
java.lang.String lastLocPerceived
- What's the last thing we received?
lastSent
java.lang.String lastSent
- What's the last thing we sent out?
nowhereThreshold
int nowhereThreshold
- Milliseconds to pass before we decide we're nowhere.
timeoutInterval
int timeoutInterval
- Millseconds to wait testing for notifications.
timer
java.lang.Thread timer
valueObject
java.lang.Integer valueObject
valueToSend
int valueToSend
lastDJRequested
DJAgent lastDJRequested
playlist
java.util.Vector playlist
connectAgentHelper
ConnectAgentHelper connectAgentHelper
he
HiveEvent he
resourceType
java.lang.String resourceType
bldg
java.lang.String bldg
locationType
java.lang.String locationType
locust
java.lang.String locust
room
java.lang.String room
allCells
java.util.Vector allCells
alreadyConnected
java.util.Vector alreadyConnected
ama
AgentMonitoringAgent ama
connectAgentHelper
ConnectAgentHelper connectAgentHelper
monitoredCells
CellAddress monitoredCells
sla
CellListAgent sla
connectAgentHelper
ConnectAgentHelper connectAgentHelper
idToLoc
java.util.Hashtable idToLoc
valueObject
java.lang.Integer valueObject
valueToSend
int valueToSend
Package net.hivecell.hive.cell |
agentGatekeeper
net.hivecell.hive.cell.Cell.AgentGatekeeper agentGatekeeper
- The gatekeeper does the security checking for all the agents
trying to enter the cell, and provides the tokens to all agents
trying to go to a remote cell.
agentMessagingShadow
AgentMessagingShadow agentMessagingShadow
- Handles the event sending/receiving for this cell
agentTable
net.hivecell.hive.cell.Cell.AgentTable agentTable
- use this to keep track of the agents on the cell
cellControlShadow
CellControlShadow cellControlShadow
- Handles the remote control of the cell
cellEventMonitor
CellEventMonitor cellEventMonitor
- A shadow that publishes server events.
componentManagerShadow
ComponentManagerShadow componentManagerShadow
- Handles the components provided by the agents
description
Description description
- Pointer to cell's XML description.
dom
com.docuverse.dom.DOM dom
- The DOM object used by the cell to parse the agent's semantic
descriptions.
httpCellShadow
HTTPServerShadow httpCellShadow
- The server used to serve class bytes for RMI (will be changed in 1.2)
movingAgents
java.util.Vector movingAgents
- A list of those agents which are in the middle of moving
myAddress
CellAddress myAddress
myRemoteCell
RemoteCell myRemoteCell
securityManager
java.lang.SecurityManager securityManager
- The security manager used by Hive (will be changed in JDK 1.2
-- if we ever decide to go that way)
shadowTable
net.hivecell.hive.cell.Cell.ShadowTable shadowTable
- use this to keep track of the shadows on the cell
shuttingDown
boolean shuttingDown
- A flag that is set when the server is about to go down.
Setting it will do nothing, but it is useful to check it to
see if the server is in shutdown procedures
shuttingDownAgents
java.util.Hashtable shuttingDownAgents
- A list of those agents which are in the middle of shutdown procedures
ex
java.lang.Exception ex
- the internal exception
Package net.hivecell.hive.description |
agents
java.util.Vector agents
matches
Description matches
name
java.lang.String name
next
Description next
self
org.w3c.dom.Node self
thing
java.lang.Object thing
dom
com.docuverse.dom.DOM dom
root
org.w3c.dom.Document root
- The DOM object. Use this to change the default Reader, Writer, Factory and Document.
Package net.hivecell.hive.event |
dataValue
java.lang.String dataValue
- the value of the data tag for the XML passed to us
eventData
java.lang.Object eventData
- Extra event-specific data.
eventTime
long eventTime
dataValue
java.lang.String dataValue
- the value of the data tag for the XML passed to us
UID
java.lang.String UID
- the UID which originated this event
dataValue
java.lang.String dataValue
- the value of the data tag for the XML passed to us
UID
java.lang.String UID
- the UID which originated this event
eventID
long eventID
handback
MarshalledObject handback
seqNum
long seqNum
source
java.lang.Object source
Package net.hivecell.hive.event.cell |
bornAgent
Agent bornAgent
serverBornOn
CellAddress serverBornOn
destinationAddress
CellAddress destinationAddress
destinationAgent
Agent destinationAgent
sourceAddress
CellAddress sourceAddress
sourceAgent
Agent sourceAgent
diedAgent
Agent diedAgent
serverDiedOn
CellAddress serverDiedOn
destinationAddress
CellAddress destinationAddress
destinationAgent
Agent destinationAgent
sourceAddress
CellAddress sourceAddress
sourceAgent
Agent sourceAgent
address
CellAddress address
agent
Agent agent
destinationAddress
CellAddress destinationAddress
destinationAgent
Agent destinationAgent
message
java.lang.String message
sourceAddress
CellAddress sourceAddress
sourceAgent
Agent sourceAgent
destinationCell
CellAddress destinationCell
movingAgent
Agent movingAgent
originCell
CellAddress originCell
destinationCell
CellAddress destinationCell
movingAgent
Agent movingAgent
originCell
CellAddress originCell
serverBorn
CellAddress serverBorn
eventCount
long eventCount
passLog
java.util.Vector passLog
serverEventCode
long serverEventCode
- This needs to be set by anything which subclasses this so we
can figure which eventID it is
source
java.lang.Object source
serverDown
CellAddress serverDown
message
java.lang.String message
server
CellAddress server
serverDown
CellAddress serverDown
Package net.hivecell.hive.shadow |
exception
java.lang.Exception exception
Package net.hivecell.hive.shadow.cell |
componentFrames
java.util.Hashtable componentFrames
frameOwners
java.util.Hashtable frameOwners
objectComponents
java.util.Hashtable objectComponents
Package net.hivecell.hive.support |
dg
DenseGraph dg
doubleBuffering
boolean doubleBuffering
imageBuffer
java.awt.Image imageBuffer
imageBufferSize
java.awt.Dimension imageBufferSize
file
java.lang.String file
- The file of the URL.
hashCode
int hashCode
- The Hashcode of the URL. Created at construction.
host
java.lang.String host
- The Host of the URL. Canonicalized at construction.
port
int port
- The port of the URL.
ref
java.lang.String ref
- The Reference or Anchor of the URL.
error
java.lang.Exception error
frameNum
int frameNum
- The framenumber that the message concerns.
status
int status
- The status of the current message
highval
int highval
- The index of the most recent image in the buffer.
store
SerializableImage[] store
- The array where the images are stored.
head
net.hivecell.hive.support.Link head
- The first element in the queue.
size
int size
- The number of elements in the queue.
tail
net.hivecell.hive.support.Link tail
- The last element in the queue.
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads the compressed image from the input stream
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Writes the dimensions and the data compressed to the outputstream
For now, the image will always be compressed.
data
int[] data
- The pixels of the image in ARGB format (default java color model)
dim
java.awt.Dimension dim
- The dimension of the image being represented.
error
java.lang.Exception error
Package net.hivecell.hive.support.async |
Package net.hivecell.hive.support.graph |
adjacencyMatrix
int[][] adjacencyMatrix
- The actual adjacency matrix. The initial size is
initializeSize + 1 -- we use the +1 space to hold the objects
in the node
adjacencyMatrixValues
java.lang.Object[] adjacencyMatrixValues
- The values for the nodes in the adjacency matrix
increasingFactor
double increasingFactor
- The rate at which to increase the size of the matrix
initialSize
int initialSize
- The initial amount of objects for the adjacency matrix
numberConnections
int numberConnections
- How many connections do we have in our matrix
numberNodes
int numberNodes
- How many nodes do we have in our matrix
objectToNode
java.util.Hashtable objectToNode
- This is useful to allow a programmer to get the node for a
particular object in case he didn't keep the node object
returned off addNode
graph
Graph graph
- The graph that this node belongs to
indexNumber
int indexNumber
- The indexing number for the adjacency matrix
nodeObject
java.lang.Object nodeObject
- The object that is in this node
o
java.lang.Object o