Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
A
ACCELEROMETER
- Static variable in class cat.sensor.util.
SensorOntology
ADJACENTAGENTS
- Static variable in class cat.sensor.util.
SensorOntology
AGENTID
- Static variable in interface cat.hist.
Protocol
AVAILABLE
- Static variable in class cat.util.
iSIM
Agent
- class cat.sig.
Agent
.
This class represents an Agent in CAT.
Agent(String, int)
- Constructor for class cat.sig.
Agent
This constructor initializes the agent with basic information about the agent.
Agent(String, int, String)
- Constructor for class cat.sig.
Agent
This constructor initializes the agent with basic information about the agent.
Agent(String, int, String, Profile)
- Constructor for class cat.sig.
Agent
This constructor initializes the agent with basic information about the agent.
Agent(String, int, Profile)
- Constructor for class cat.sig.
Agent
This constructor initializes the agent with basic information about the agent.
AndSensor
- class cat.sensor.soft.
AndSensor
.
This is a Soft Sensor.
AndSensor(String)
- Constructor for class cat.sensor.soft.
AndSensor
This constructor sets the id of this sensor, and then starts the thread to process any incoming sensor data that this sensor listens to.
a
- Variable in class cat.sig.event.
SigEvent
The agent you sent this SigEvent.
addAgent(Agent)
- Method in class cat.sig.
Sig
This method adds an agent into the sig to share sensor with.
addAgent(String, Agent)
- Method in class cat.sig.
SigManager
This method adds an agent to a Sig, so that the agent gets shared sensor data from this CAT.
addAgentToSig(String, Agent, Vector)
- Method in class cat.sig.
SigManager
This method is used to add an agent to a sig that already has been created.
addLeafSensor(String, LeafSensor)
- Method in class cat.sensor.core.
SensorManager
This method is for adding a LeafSensor into CAT.
addLeafSensor(String, LeafSensor, SensorProxy)
- Method in class cat.sensor.core.
SensorManager
This method is for adding a LeafSensor into CAT.
addReceiverListener(ReceiverListener, SigID)
- Method in interface cat.security.
Receiver
Sign up to recieve Data for a particular sig.
addSensor(Sensor)
- Method in class cat.context.
ContextManager
This method is for adding a sensor to the CAT system.
addSensor(String, Sensor)
- Method in class cat.sensor.core.
SensorManager
This method is for adding a SoftSensor into CAT.
addSensor(Sensor)
- Method in class cat.sig.
Sig
This method adds a sensor to be shared in this sig .
addSensorListener(SensorListener)
- Method in class cat.sensor.core.
Sensor
This method adds a listener to this Sensor.
addSensorListener(SensorListener)
- Method in class cat.sensor.core.
SensorManager
This method adds a listener to this manager.
addSensorSig(String, Sensor)
- Method in class cat.sig.
SigManager
This method adds a sensor to a Sig, so that it is shared to that sig.
addSig(String, Vector, Vector, int, int)
- Method in class cat.sig.
SigManager
This method is used internally to create/add a new sig into this SigManager and CAT.
addSigListener(SigListener)
- Method in class cat.sig.
SigManager
This method adds a listener to this Manager.
addTransportListener(TransportListener)
- Method in class cat.transport.
Transport
agents
- Variable in class cat.sensor.core.
DiscoveryProxy
List of known/encounter/discovered agents.
agents
- Variable in class cat.sensor.core.
EncounterProxy
List of known/encounter/discovered agents.
agents
- Variable in class cat.sig.
Sig
The agents that are part of this sig.
agents
- Variable in class cat.sig.event.
SigRequestEvent
The agents currently in the SIG.
appList
- Variable in class cat.sensor.core.
SensorManager
list of applications that want to know if a sensor has been added or removed the members MUST implement SensorListener.
appSetUp()
- Method in class cat.app.
ContextApp
This method sets up the basic information for the application.
authentication_type
- Variable in class cat.sig.
Sig
Authentication used to secure sharing of sensor data.
available
- Variable in class cat.sig.
Profile
True if the agent is available for communication.
C
CE
- Static variable in interface cat.hist.
Protocol
CallableSensor
- class cat.sensor.soft.
CallableSensor
.
This is a Soft Sensor.
CallableSensor(String)
- Constructor for class cat.sensor.soft.
CallableSensor
This constructor sets the id of this sensor, and then starts the thread to process any incoming sensor data that this sensor listens to.
ClientApplication
- class cat.hist.
ClientApplication
.
This class puts CAT sensor data into a standard SQL form and sends it to local server that stores it into a local database.
ClientApplication()
- Constructor for class cat.hist.
ClientApplication
ClientSocket
- class cat.hist.
ClientSocket
.
This class is used by the generic server.
ClientSocket(GenericServer, Socket)
- Constructor for class cat.hist.
ClientSocket
ContextApp
- class cat.app.
ContextApp
.
This class is a template for building applications using CAT.
ContextApp(String, int)
- Constructor for class cat.app.
ContextApp
This constructor will start the application.
ContextManager
- class cat.context.
ContextManager
.
This class is the Manager of all CAT components.
ContextManager()
- Constructor for class cat.context.
ContextManager
This constructor initializes create the tools/other managers in the constructor.
ca
- Variable in class cat.hist.
HistoryManager
This is the object used to store retrieve sensor data.
cat.app
- package cat.app
cat.context
- package cat.context
cat.hist
- package cat.hist
cat.security
- package cat.security
cat.sensor.core
- package cat.sensor.core
cat.sensor.event
- package cat.sensor.event
cat.sensor.soft
- package cat.sensor.soft
cat.sensor.util
- package cat.sensor.util
cat.sig
- package cat.sig
cat.sig.event
- package cat.sig.event
cat.transport
- package cat.transport
cat.util
- package cat.util
client
- Variable in class cat.hist.
ClientSocket
communicate(BufferedReader, PrintStream)
- Method in class cat.hist.
ClientSocket
communicate(ObjectInputStream, ObjectOutputStream)
- Method in class cat.hist.
ClientSocket
communicateByObject()
- Method in class cat.hist.
ClientApplication
Used internally for communicating with the database server.
communicateByStream()
- Method in class cat.hist.
ClientApplication
Used internally for communicating with the database server.
countSensorListeners()
- Method in class cat.sensor.core.
Sensor
Returns the number of observers of this
Observable
object.
counter
- Variable in class cat.hist.
GenericServer
createSig(String, Agent, Vector, Vector)
- Method in class cat.sig.
SigManager
This method is used to create a new sig and try to get one other agent to join the sig.
createSocket(GenericServer, Socket)
- Method in class cat.hist.
GenericServer
D
DEFAULT_HOST
- Static variable in class cat.hist.
GenericServer
DEFAULT_PORT
- Static variable in class cat.hist.
GenericServer
DISCOVERY
- Static variable in class cat.sensor.util.
SensorOntology
DISCOVERYLIST
- Static variable in class cat.sensor.util.
SensorOntology
DOWN
- Static variable in class cat.sensor.core.
Status
DRIVING
- Static variable in class cat.sensor.util.
SensorOntology
Data
- class cat.transport.
Data
.
A container for some information and meta data about the information.
Data()
- Constructor for class cat.transport.
Data
Debug
- class cat.hist.
Debug
.
Title:
Debug()
- Constructor for class cat.hist.
Debug
Destination
- class cat.security.
Destination
.
Encapsulation of a destination.
Destination()
- Constructor for class cat.security.
Destination
DiscoveryProxy
- class cat.sensor.core.
DiscoveryProxy
.
This is a special SensorProxy which has a sole purpose of Discovering the other agents near us.
DiscoveryProxy(LeafSensor)
- Constructor for class cat.sensor.core.
DiscoveryProxy
Constructor starts up the threads for publishing and listening to Discover events.
DiscoveryProxy.Discover
- class cat.sensor.core.
DiscoveryProxy.Discover
.
This class is used to send DiscoveryMessages to all agents aroudn us.
DiscoveryProxy.Discover()
- Constructor for class cat.sensor.core.
DiscoveryProxy.Discover
This constructor.
DiscoveryProxy.Update
- class cat.sensor.core.
DiscoveryProxy.Update
.
This class is used to keep our list of agents around us current.
DiscoveryProxy.Update()
- Constructor for class cat.sensor.core.
DiscoveryProxy.Update
This constructor.
dAGENTID
- Static variable in interface cat.hist.
Protocol
dETIME
- Static variable in interface cat.hist.
Protocol
dSENSORID
- Static variable in interface cat.hist.
Protocol
dSENSORTYPE
- Static variable in interface cat.hist.
Protocol
dSTIME
- Static variable in interface cat.hist.
Protocol
dUNIT
- Static variable in interface cat.hist.
Protocol
dVALUE
- Static variable in interface cat.hist.
Protocol
data
- Variable in class cat.security.
Response
data
- Variable in class cat.transport.
Data
debug(String)
- Static method in class cat.hist.
Debug
decCounter()
- Method in class cat.hist.
GenericServer
deleteSensorListener(SensorListener)
- Method in class cat.sensor.core.
Sensor
This method removes a listener to this Sensor.
deleteSensorListener(SensorListener)
- Method in class cat.sensor.core.
SensorManager
This method removes a listener to this manager.
deleteSensorListeners()
- Method in class cat.sensor.core.
Sensor
This method removes all listeners to this Sensor.
deleteSigListener(SigListener)
- Method in class cat.sig.
SigManager
This method removes a listener to this Manager.
displayname
- Variable in class cat.sig.
Profile
The agent's nickname/psuedoname.
E
ENCOUNTER
- Static variable in class cat.sensor.util.
SensorOntology
ENCOUNTERLIST
- Static variable in class cat.sensor.util.
SensorOntology
END
- Static variable in interface cat.hist.
Protocol
ENDTIME
- Static variable in interface cat.hist.
Protocol
ERROR
- Static variable in interface cat.hist.
Protocol
ESTABLISHED
- Static variable in class cat.sig.
SigManager
EncounterProxy
- class cat.sensor.core.
EncounterProxy
.
This is a special SensorProxy which has a sole purpose of Discovering the other agents near us.
EncounterProxy(LeafSensor)
- Constructor for class cat.sensor.core.
EncounterProxy
Constructor starts up threads for publishing and listening to Encounter events.
EncounterProxy.Encounter
- class cat.sensor.core.
EncounterProxy.Encounter
.
This class is used to send DiscoveryMessages to all agents aroudn us.
EncounterProxy.Encounter()
- Constructor for class cat.sensor.core.
EncounterProxy.Encounter
This constructor.
EncounterProxy.Update
- class cat.sensor.core.
EncounterProxy.Update
.
This class is used to keep our list of agents around us current.
EncounterProxy.Update()
- Constructor for class cat.sensor.core.
EncounterProxy.Update
This constructor.
encryption_type
- Variable in class cat.sig.
Sig
Encryption used to secure sharing of sensor data.
equals(Object)
- Method in class cat.sig.
Agent
returns true if the agents have the same ID.
equals(Agent)
- Method in class cat.sig.
Agent
returns true if the agents have the same id.
equals(Profile)
- Method in class cat.sig.
Profile
returns true if the agents have the same id.
eventQueue
- Variable in class cat.sig.
SensorMonitor
Contains unprocessed sensor events.
eventsQueue
- Variable in class cat.app.
ContextApp
Keep a queue of sensor events, for processing in a thread.
eventsQueue
- Variable in class cat.hist.
HistoryManager
Holds all sensor data events to be processed.
eventsQueue
- Variable in class cat.sensor.soft.
AndSensor
The queue of incoming sensor data.
eventsQueue
- Variable in class cat.sensor.soft.
CallableSensor
The queue of incoming sensor data.
F
finalClose()
- Method in class cat.hist.
ClientSocket
findAgent(Agent)
- Method in class cat.sig.
Sig
This method trys to find an agent in the sig.
findClosest(Vector, Vector, String)
- Static method in class cat.hist.
Util
Finds the closest value that is just less than given time.
findInterestedSig(String)
- Method in class cat.sig.
SigManager
This method find Sig's that are interested in a particular sensor's data.
findSig(String)
- Method in class cat.sig.
SigManager
This method finds Sig that has a particular name or returns null if no sig exists with the given name.
formatTime(Calendar)
- Static method in class cat.hist.
Util
Formats a calendar time object into SQL string form.
from
- Variable in class cat.sensor.util.
Value
The agent that the sensor data value is from.
G
GPS
- Static variable in class cat.sensor.util.
SensorOntology
GenericServer
- class cat.hist.
GenericServer
.
This class is a server which acts as a go-between between CAT and the database.
GenericServer()
- Constructor for class cat.hist.
GenericServer
getAgent()
- Method in class cat.sensor.event.
SensorDataEvent
This returns the agent who owns the sensor.
getAgent()
- Method in class cat.sensor.util.
Value
Returns the agent who gave us the remote sensor data value.
getAgent()
- Method in class cat.sig.event.
SigEvent
This method returns the agent who sent this event.
getAgents()
- Method in class cat.sig.
Sig
This method returns the agents in the sig .
getAgents()
- Method in class cat.sig.event.
SigRequestEvent
This method returns the agents already in the SIG.
getAllSensors()
- Method in class cat.sensor.core.
SensorManager
Returns an array of all the sensors that this Manager has (which is all sensors in CAT).
getAllSensors()
- Method in class cat.sig.
Sig
This method returns all sensors being shared in this sig.
getAverage(double[])
- Static method in class cat.hist.
Util
Returns average of all the doubles.
getAverage(Vector)
- Static method in class cat.hist.
Util
Returns average of all the doubles.
getContextManager()
- Method in class cat.app.
ContextApp
Returns the Context Manager for the app to use.
getGivingSensors()
- Method in class cat.sig.event.
SigRequestEvent
This method returns the sensors being given/shared.
getGivingSensors()
- Method in class cat.sig.event.
SigResponseEvent
This method returns the sensors being given/shared.
getHistoryManager()
- Method in class cat.context.
ContextManager
Returns the history manger for CAT apps to access.
getHost()
- Method in class cat.sig.
Agent
Returns the agents host name.
getID()
- Method in class cat.sensor.core.
Sensor
This method returns the id of the sensor.
getId()
- Method in class cat.sig.
Agent
Returns the agent's id.
getLocation()
- Method in class cat.sig.
Profile
Returns the agent's location (gps nmea format).
getMonitor()
- Method in class cat.sig.
SigManager
This method returns the SensorMonitor which is used to listen to all CAT sensors, so that some/none of the sensor data can be shared with SIGs.
getName()
- Method in class cat.sig.
Profile
Returns the agent's nickname.
getName()
- Method in class cat.sig.
Sig
This method returns the name of the sig.
getPort()
- Method in class cat.sig.
Agent
Returns the agents port number.
getProfile()
- Method in class cat.sig.
Agent
getResponse()
- Method in class cat.sig.event.
SigResponseEvent
This method returns whether the agent is joining the SIG.
getSecondaryValue()
- Method in class cat.sensor.util.
Value
Returns the secondary value of this Sensor data value object.
getSensor(String)
- Method in class cat.sensor.core.
SensorManager
Returns the sensor which has the desired id.
getSensorManager()
- Method in class cat.context.
ContextManager
Returns the sensor manger for CAT apps to access.
getSensorQueue()
- Method in class cat.app.
ContextApp
Returns a list of non-processed sensor events.
getSensorType()
- Method in class cat.sensor.core.
Sensor
This method returns the type of the Sensor.
getSig()
- Method in class cat.sig.event.
SigEvent
This method returns the name of the SIG that pertains to the event.
getSigManager()
- Method in class cat.context.
ContextManager
Returns the sig manger for CAT apps to access.
getSigs()
- Method in class cat.sig.
SigManager
This method returns all the sigs in CAT.
getStatus()
- Method in class cat.sensor.event.
SensorStatusEvent
This returns the status of the sensor that published this event.
getType()
- Method in class cat.sensor.event.
SensorDataEvent
This returns the type of the sensor that published this event.
getUid()
- Method in class cat.security.
ID
getValue()
- Method in class cat.sensor.event.
SensorDataEvent
This returns the value/data of the sensor that published this event.
getValue()
- Method in class cat.sensor.util.
Value
Returns the main value of this Sensor data value object.
getWantedSensors()
- Method in class cat.sig.event.
SigRequestEvent
This method returns the sensors that are wanted to join this SIG.
giving
- Variable in class cat.sig.event.
SigRequestEvent
The sensors being given/shared.
giving
- Variable in class cat.sig.event.
SigResponseEvent
The sensors being given.
H
HEADING
- Static variable in class cat.sensor.util.
SensorOntology
HOST
- Static variable in class cat.util.
iSIM
Info about the local agent.
HistoryManager
- class cat.hist.
HistoryManager
.
This class is the Manager of the History of sensor data.
HistoryManager()
- Constructor for class cat.hist.
HistoryManager
This constructor starts the manager to get ready to process sensor data events.
handleSigEvent(SigEvent)
- Method in class cat.app.
ContextApp
This method gets SIG events, it can process most of the information itself, and then it merely asks the extending application if it would like to join a SIG, or to inform it of an agent that joined.
handleSigEvent(SigEvent)
- Method in interface cat.sig.
SigListener
This method is for notifying the listener of the SigEvent.
historyManager
- Variable in class cat.context.
ContextManager
This manages the access to the history of sensor data.
host
- Variable in class cat.sig.
Agent
the host that the agent is on.
hs
- Variable in class cat.hist.
ClientSocket
I
ID
- class cat.security.
ID
.
ID Date: Apr 9, 2003 Time: 10:59:27 AM
ID()
- Constructor for class cat.security.
ID
ID
- Static variable in class cat.util.
iSIM
Info about the local agent.
INMEETING
- Static variable in class cat.sensor.util.
SensorOntology
INSERT
- Static variable in interface cat.hist.
Protocol
ISIM_HOST
- Static variable in class cat.util.
iSIM
Info about the simulator.
ISIM_PORT
- Static variable in class cat.util.
iSIM
Info about the simulator.
iSIM
- class cat.util.
iSIM
.
This class holds a few global variables for all CAT components to be able to access.
iSIM()
- Constructor for class cat.util.
iSIM
id
- Variable in class cat.security.
Request
id
- Variable in class cat.security.
RequestID
id
- Variable in class cat.sig.
Agent
the id of the agent.
ifDebug
- Static variable in interface cat.hist.
Protocol
ifStop
- Variable in class cat.hist.
GenericServer
in
- Variable in class cat.hist.
ClientSocket
incCounter()
- Method in class cat.hist.
GenericServer
incomingData(UserID, Data)
- Method in interface cat.security.
ReceiverListener
incomingMessage(Message)
- Method in class cat.sensor.core.
DiscoveryProxy
This is how the Sensor Proxy will Messages from iSIM.
incomingMessage(Message)
- Method in class cat.sensor.core.
EncounterProxy
This is how the Sensor Proxy will Messages from iSIM.
incomingMessage(Message)
- Method in class cat.sensor.core.
SensorProxy
This is how the Sensor Proxy will get Messages from simulator (iSIM).
incomingRawData(Data)
- Method in interface cat.transport.
TransportListener
incomingRequest(UserID, Request)
- Method in interface cat.security.
ReceiverListener
incomingResponse(UserID, Response)
- Method in interface cat.security.
ResponseListener
init()
- Method in class cat.context.
ContextManager
This method just links the other managers by having them listen to the sensors from the sensor manager.
init()
- Method in class cat.sensor.core.
SensorManager
This method creates and adds as many basic LeafSensors as it can to CAT.
input
- Variable in class cat.hist.
ClientSocket
insert(String, String, String, String)
- Method in class cat.hist.
ClientApplication
This method is used only by HistoryManager to insert sensor data into the database.
isAvailable()
- Method in class cat.sig.
Profile
Returns whether the agent is available for communication.
isRemote()
- Method in class cat.sensor.core.
Sensor
This method returns whether the sensor is remote or not.
isRemote()
- Method in class cat.sensor.event.
SensorDataEvent
This returns true if the sensor value/data is remote.
isRemote()
- Method in class cat.sensor.util.
Value
Returns true if this value is from a remote sensor.
J
joinSig(String, Vector, Vector, Vector)
- Method in class cat.app.
ContextApp
This method gets called when app receives a SIG join request.
joinSig(String, Vector, Vector, Vector, int, int)
- Method in class cat.sig.
SigManager
This method is used to join a sig that someone else has already created The CAT app should call this method, when the user decides to join a sig.
joinedSig(String, Agent)
- Method in class cat.app.
ContextApp
This method gets called when an agent joined a SIG that you part of.
L
LIGHTLEVEL
- Static variable in class cat.sensor.util.
SensorOntology
LOCATION
- Static variable in class cat.util.
iSIM
LeafSensor
- class cat.sensor.core.
LeafSensor
.
LeafSensor is a Sensor which is a leaf on the heirarchy of Sensors.
LeafSensor(String)
- Constructor for class cat.sensor.core.
LeafSensor
This constructor initializes the Sensor object by setting the id.
leafSensor
- Variable in class cat.sensor.core.
DiscoveryProxy
The LeafSensor that will receive discovery events from this proxy.
leafSensor
- Variable in class cat.sensor.core.
EncounterProxy
The LeafSensor that will receive encounter events from this proxy.
leafSensor
- Variable in class cat.sensor.core.
SensorProxy
The LeafSensor that this proxy passes sensor data to.
line
- Variable in class cat.hist.
ClientSocket
listeners
- Variable in class cat.transport.
Transport
location
- Variable in class cat.sig.
Profile
The agent's gps location.
M
MAX_CONN
- Variable in class cat.hist.
GenericServer
main(String[])
- Static method in class cat.hist.
ClientApplication
This is just for testing that it can connect to the database server.
main(String[])
- Static method in class cat.hist.
ClientSocket
main(String[])
- Static method in class cat.hist.
GenericServer
manager
- Variable in class cat.app.
ContextApp
The ContextManager for this wearable application.
monitor
- Variable in class cat.sig.
SigManager
Used to get sensor data from CAT to be shared in sigs.
N
NAME
- Static variable in class cat.util.
iSIM
Info about the local agent.
NewSensorEvent
- class cat.sensor.event.
NewSensorEvent
.
New Sensor Event is generated when a new sensor is added into CAT.
NewSensorEvent(String)
- Constructor for class cat.sensor.event.
NewSensorEvent
This constructor sets the id of the new sensor.
Node
- class cat.sig.
Node
.
This class is for the SigManager only.
Node(Sensor)
- Constructor for class cat.sig.
Node
This constructor sets up the Node.
newRawData(Value)
- Method in class cat.sensor.core.
LeafSensor
This method is how the LeafSensor gets data from the real sensor.
notifySensorListeners(Object)
- Method in class cat.sensor.core.
Sensor
This method notifies all listeners of a Sensor data event.
notifySensorListeners(Object)
- Method in class cat.sensor.core.
SensorManager
This method notifies all listeners of a Sensor data event that this manager observes.
notifySigListeners(SigEvent)
- Method in class cat.sig.
SigManager
This method notifies all listeners of a sig data event.
O
OK
- Static variable in interface cat.hist.
Protocol
OKTOCALL
- Static variable in class cat.sensor.util.
SensorOntology
out
- Variable in class cat.hist.
ClientSocket
P
P2PDATA
- Static variable in class cat.sensor.util.
SensorOntology
PORT
- Static variable in class cat.util.
iSIM
Info about the local agent.
PROTOCOL
- Static variable in interface cat.hist.
Protocol
PSUEDONAME
- Static variable in class cat.util.
iSIM
PULSE
- Static variable in class cat.sensor.util.
SensorOntology
Profile
- class cat.sig.
Profile
.
This class represents the profile for an Agent.
Profile()
- Constructor for class cat.sig.
Profile
This constructor initializes the profile with no information
Profile(String, String, boolean)
- Constructor for class cat.sig.
Profile
This constructor initializes the profile with the given information.
Protocol
- interface cat.hist.
Protocol
.
List of protocols used in the SQL database.
p2pSend(Agent, Object)
- Static method in class cat.app.
ContextApp
This method can be used to send p2p communication.
parent
- Variable in class cat.sig.
SensorMonitor
The manager which we give sensor data to.
parseProperty(String)
- Static method in class cat.hist.
Util
parses SQL string into array of strings.
port
- Variable in class cat.sig.
Agent
the port number the agent communicates on.
process()
- Method in class cat.hist.
ClientSocket
processInsert()
- Method in class cat.hist.
ClientSocket
processQuerySensor()
- Method in class cat.hist.
ClientSocket
profile
- Variable in class cat.sig.
Agent
Optional information about the agent to share with other agents.
profile
- Static variable in class cat.util.
iSIM
What about a user profile?
prop
- Variable in class cat.hist.
ClientSocket
props
- Variable in class cat.transport.
Data
Q
QUERYSENSOR
- Static variable in interface cat.hist.
Protocol
query(String, String, String)
- Method in class cat.hist.
ClientApplication
Use this method to retrieve the sensor data for the given sensor that is closest to the given time.
query(String, String)
- Method in class cat.hist.
ClientApplication
Use this method to retrieve the sensor data for the given sensor for all times.
query(String, int, Calendar)
- Method in class cat.hist.
HistoryManager
Use this method to retrieve the sensor data for the given sensor that is closest to the given time.
query(String, int)
- Method in class cat.hist.
HistoryManager
Use this method to retrieve the sensor data for the given sensor for all times.
R
REFUSED
- Static variable in class cat.sig.
SigManager
REMOTE
- Static variable in class cat.sensor.core.
Status
RESUTL
- Static variable in interface cat.hist.
Protocol
RUNNING
- Static variable in class cat.sensor.core.
Status
Receiver
- interface cat.security.
Receiver
.
Anyone who cares about receiving data should sign up as a listener to this class.
ReceiverListener
- interface cat.security.
ReceiverListener
.
ReceiverListener Date: Apr 3, 2003 Time: 1:59:38 PM
RemovedSensorEvent
- class cat.sensor.event.
RemovedSensorEvent
.
This sensor event notifies that a sensor has been removed from CAT.
RemovedSensorEvent(String)
- Constructor for class cat.sensor.event.
RemovedSensorEvent
This constructor sets the id of the removed sensor.
Request
- class cat.security.
Request
.
Request Date: Apr 3, 2003 Time: 12:55:15 PM
Request()
- Constructor for class cat.security.
Request
RequestID
- class cat.security.
RequestID
.
Uniquely identifies a request.
RequestID()
- Constructor for class cat.security.
RequestID
Response
- class cat.security.
Response
.
super class for responses.
Response(Request)
- Constructor for class cat.security.
Response
Constructs a response to the specified request.
ResponseListener
- interface cat.security.
ResponseListener
.
ResponseListener Date: Apr 3, 2003 Time: 12:54:54 PM
remote
- Variable in class cat.sensor.core.
Sensor
True if the sensor is remote.
remote
- Variable in class cat.sensor.util.
Value
True if the sensor data value is from a remote sensor.
removeAgent(Agent)
- Method in class cat.sig.
Sig
This method removes an agent from the sig.
removeAgent(String, Agent)
- Method in class cat.sig.
SigManager
This method removes an agent from a Sig, so that the agent no longer gets shared sensor data from this CAT.
removeSensor(String)
- Method in class cat.sensor.core.
SensorManager
This method is for removing the Sensor with the given id.
removeSensor(Sensor)
- Method in class cat.sig.
Sig
This method removes a sensor, so that it is no longer shared by this sig.
removeSensor(Sensor)
- Method in class cat.sig.
SigManager
This method removes a sensor from all Sigs, so that it is no longer shared to any sigs.
removeSensorSig(String, Sensor)
- Method in class cat.sig.
SigManager
This method removes a sensor from a Sig, so that it is no longer shared to that sig.
removeSig(String)
- Method in class cat.sig.
SigManager
This method is for removing a sig from the SigManager and from CAT.
removeTransportListener(TransportListener)
- Method in class cat.transport.
Transport
request
- Variable in class cat.security.
Response
requester
- Variable in class cat.security.
Request
response
- Variable in class cat.sig.event.
SigResponseEvent
True if agent will join the sig.
run()
- Method in class cat.app.
ContextApp
This method is for handling sensor events.
run()
- Method in class cat.hist.
ClientSocket
run()
- Method in class cat.hist.
HistoryManager
This method is for processing any and all sensor data that occurs in CAT.
run()
- Method in class cat.sensor.core.
DiscoveryProxy.Discover
This method methods sends out a DiscoveryMessage every 5 sec
run()
- Method in class cat.sensor.core.
DiscoveryProxy.Update
This method updates the list of agents.
run()
- Method in class cat.sensor.core.
EncounterProxy.Encounter
This method methods sends out a DiscoveryMessage every 5 sec
run()
- Method in class cat.sensor.core.
EncounterProxy.Update
This method updates the list of agents.
run()
- Method in class cat.sensor.soft.
AndSensor
Checks for any new sensor data and processes it to create new sensor data which this sensor outputs.
run()
- Method in class cat.sensor.soft.
CallableSensor
Checks for any new sensor data and processes it to create new sensor data which this sensor outputs.
run()
- Method in class cat.sig.
SensorMonitor
This method loops through any and all sensor events that this class listens to.
S
SE
- Static variable in interface cat.hist.
Protocol
SENSORID
- Static variable in interface cat.hist.
Protocol
SENSORTYPE
- Static variable in interface cat.hist.
Protocol
SIM_MODE
- Static variable in class cat.util.
iSIM
Running in a simulator? true = yes.
SKINTEMPERATURE
- Static variable in class cat.sensor.util.
SensorOntology
SLEEPING
- Static variable in class cat.sensor.util.
SensorOntology
SOCKET_TIMEOUT
- Variable in class cat.hist.
GenericServer
SOUNDLEVEL
- Static variable in class cat.sensor.util.
SensorOntology
STARTLED
- Static variable in class cat.sensor.util.
SensorOntology
STATUS_DOWN
- Static variable in class cat.sensor.event.
SensorStatusEvent
status variable.
STATUS_ERROR
- Static variable in class cat.sensor.event.
SensorStatusEvent
status variable.
STATUS_RUNNING
- Static variable in class cat.sensor.event.
SensorStatusEvent
status variable.
SecureSender
- class cat.security.
SecureSender
.
SecureSender Date: Apr 3, 2003 Time: 3:04:40 PM
SecureSender()
- Constructor for class cat.security.
SecureSender
Sender
- interface cat.security.
Sender
.
Date: Apr 3, 2003 Time: 12:32:13 PM
Sensor
- class cat.sensor.core.
Sensor
.
This class represents a generic sensor in CAT.
Sensor(String)
- Constructor for class cat.sensor.core.
Sensor
This constructor initializes the Sensor object by setting the id.
SensorDataEvent
- class cat.sensor.event.
SensorDataEvent
.
This data event carries the sensor data that a sensor gets.
SensorDataEvent(String, Value)
- Constructor for class cat.sensor.event.
SensorDataEvent
This constructor sets the id of the sensor sending the data event, and the data/value that the sensor is transmitting.
SensorDataEvent(String, int, Value)
- Constructor for class cat.sensor.event.
SensorDataEvent
This constructor sets the id of the sensor sending the data event, and the data/value that the sensor is transmitting.
SensorEvent
- class cat.sensor.event.
SensorEvent
.
Sensor event is the head of the heirarchy of the objects which are used to pass sensor data in CAT.
SensorEvent(String)
- Constructor for class cat.sensor.event.
SensorEvent
SensorListener
- interface cat.sensor.core.
SensorListener
.
Interface of how a Sensor Listener should look.
SensorManager
- class cat.sensor.core.
SensorManager
.
This CAT manager sets up and controls all sensors in CAT.
SensorManager()
- Constructor for class cat.sensor.core.
SensorManager
This constructor inits the manager by calling init.
SensorMonitor
- class cat.sig.
SensorMonitor
.
This class is a tool used by SigManager.
SensorMonitor(SigManager)
- Constructor for class cat.sig.
SensorMonitor
This constructor initializes the monitor by setting the SigManager, and starting the thread to process Sensor events.
SensorOntology
- class cat.sensor.util.
SensorOntology
.
This class holds a list of constant identifies for the Sensor class to use for identifying sensor types.
SensorOntology()
- Constructor for class cat.sensor.util.
SensorOntology
SensorProxy
- class cat.sensor.core.
SensorProxy
.
The SensorProxy gets actuall sensor data by listening to a simulator or to real hardware sensors.
SensorProxy(LeafSensor)
- Constructor for class cat.sensor.core.
SensorProxy
Constructor needs to signup as a listener to the SocketReceiver.
SensorStatusEvent
- class cat.sensor.event.
SensorStatusEvent
.
This status event carries specific information about a sensor.
SensorStatusEvent(String, int)
- Constructor for class cat.sensor.event.
SensorStatusEvent
This constructor sets the id of the sensor sending the status event.
SensorTable
- class cat.sensor.core.
SensorTable
.
This class is no longer used.
SensorTable()
- Constructor for class cat.sensor.core.
SensorTable
Sig
- class cat.sig.
Sig
.
This class represents a SIG (Special Interest Group).
Sig(String, Vector, Vector, int, int)
- Constructor for class cat.sig.
Sig
This constructor initializes the sig with all the following data.
SigEvent
- class cat.sig.event.
SigEvent
.
This class is to represent events pertaining to SIGs such as a request to join a SIG, or a response to that request.
SigEvent(String, Agent)
- Constructor for class cat.sig.event.
SigEvent
This constructor initializes the event with the name of the SIG and the agent who sent the event.
SigID
- class cat.security.
SigID
.
Encapsulation of a SIG id.
SigID()
- Constructor for class cat.security.
SigID
SigListener
- interface cat.sig.
SigListener
.
This interface defines the methods that a SigListener must implement.
SigManager
- class cat.sig.
SigManager
.
This class is the SigManager.
SigManager()
- Constructor for class cat.sig.
SigManager
This constructor initializes the SigManager by starting new empty sig lists, and initializing the SensorMonitor.
SigRequestEvent
- class cat.sig.event.
SigRequestEvent
.
This Sig Event is for sending a request to join a SIG.
SigRequestEvent(String, Vector, Vector, Vector)
- Constructor for class cat.sig.event.
SigRequestEvent
This constructor initializes the event with the name of the SIG and the agents who are already in the SIG.
SigResponseEvent
- class cat.sig.event.
SigResponseEvent
.
This Sig Event is to for sending a repsonse to a Sig Request Event.
SigResponseEvent(String, Vector, boolean, Agent)
- Constructor for class cat.sig.event.
SigResponseEvent
This constructor initializes the event with the name of the SIG and the agent who is responding to the request.
Status
- class cat.sensor.core.
Status
.
This class contains some sensor status variables.
Status()
- Constructor for class cat.sensor.core.
Status
secondary
- Variable in class cat.sensor.util.
Value
The secondary value of this sensor data value object.
senList
- Variable in class cat.sensor.core.
Sensor
The list of listeners.
senList
- Variable in class cat.sensor.core.
SensorManager
List of sensors that want notifications from this manager.
senList
- Variable in class cat.sig.
SigManager
List of listeners to this manager.
send(SensorEvent)
- Method in class cat.sig.
Sig
This method sends out a sensor data event to agents in this sig.
send(SensorEvent)
- Method in class cat.sig.
SigManager
This method sends SensorEvent to interested Sig.
sendData(Data, Destination)
- Method in class cat.security.
SecureSender
sendData(Data, Destination)
- Method in interface cat.security.
Sender
sendData(Data, Destination)
- Method in class cat.transport.
Transport
sendMessage(Message)
- Method in class cat.transport.
Transport
sendRequest(Request, Destination, ResponseListener)
- Method in class cat.security.
SecureSender
sendRequest(Request, Destination, ResponseListener)
- Method in interface cat.security.
Sender
sendResponse(Response, Request)
- Method in class cat.security.
SecureSender
sendResponse(Response, Request)
- Method in interface cat.security.
Sender
sensor
- Variable in class cat.sig.
Node
The sensor in this node to match with sigs.
sensorID
- Variable in class cat.sensor.core.
Sensor
The sensor id.
sensorManager
- Variable in class cat.context.
ContextManager
This manages all the CAT sensors.
sensorNodes
- Variable in class cat.sig.
SigManager
List of all nodes, used to match each CAT sensor with sigs for it.
sensorType
- Variable in class cat.sensor.core.
Sensor
The sensor's type.
sensors
- Variable in class cat.sig.
Sig
The sensors being shared in this sig.
setAvailable(boolean)
- Method in class cat.sig.
Profile
Set's whether the agent is available for communication.
setID(String)
- Method in class cat.sensor.core.
Sensor
This method sets the id of the sensor.
setLocation(String)
- Method in class cat.sig.
Profile
Set's the agent's location (gps nmea format).
setName(String)
- Method in class cat.sig.
Profile
Set's the agent's nickname.
setProfile(Profile)
- Method in class cat.sig.
Agent
setRemote(boolean)
- Method in class cat.sensor.core.
Sensor
This method sets whether the sensor is remote or not.
setSensorType(int)
- Method in class cat.sensor.core.
Sensor
This method sets the type of the Sensor.
setStatus(int)
- Method in class cat.sensor.core.
LeafSensor
This method sets the status of the sensor.
setStop(boolean)
- Method in class cat.hist.
GenericServer
setUid(String)
- Method in class cat.security.
ID
sig
- Variable in class cat.sig.event.
SigEvent
The name of the SIG pertaining to the event.
sigGroup
- Variable in class cat.sig.
SigManager
All sigs.
sigManager
- Variable in class cat.context.
ContextManager
This manages the sigs in CAT.
sig_name
- Variable in class cat.sig.
Sig
The sig name.
sigs
- Variable in class cat.sig.
Node
sigs that are interested in this sensor
sr
- Variable in class cat.sensor.core.
SensorManager
This object is used for connecting sensor proxies to simulator.
startHistServer()
- Method in class cat.hist.
GenericServer
startHistServer(int)
- Method in class cat.hist.
GenericServer
state
- Variable in class cat.sensor.soft.
AndSensor
An array of the most current sensor data from the sensors that this soft sensor listens to.
status
- Variable in class cat.sensor.event.
SensorStatusEvent
The status of the sensor sending this event.
T
TALKING
- Static variable in class cat.sensor.util.
SensorOntology
TEMPERATURE
- Static variable in class cat.sensor.util.
SensorOntology
Transport
- class cat.transport.
Transport
.
Transport Date: Apr 3, 2003 Time: 5:12:09 PM
Transport()
- Constructor for class cat.transport.
Transport
TransportListener
- interface cat.transport.
TransportListener
.
TransportListener Date: Apr 3, 2003 Time: 5:06:36 PM
table
- Variable in class cat.sensor.core.
DiscoveryProxy
Table contain agents and time discovered.
table
- Variable in class cat.sensor.core.
EncounterProxy
Table contain agents and time encountered.
table
- Variable in class cat.sensor.core.
SensorManager
Contains all sensors and their ids
toString()
- Method in class cat.sig.
Agent
toString()
- Method in class cat.sig.
Profile
type
- Variable in class cat.sensor.event.
SensorDataEvent
The sensor type of the sensor that made this data.
U
UNKNOWN
- Static variable in class cat.sensor.core.
Status
UserID
- class cat.security.
UserID
.
UserID of a device (i.e.
UserID()
- Constructor for class cat.security.
UserID
Util
- class cat.hist.
Util
.
This class is used by the database server, which may be local or remote.
Util()
- Constructor for class cat.hist.
Util
uid
- Variable in class cat.security.
ID
update(Object)
- Method in class cat.app.
ContextApp
Get sensor events in here.
update(Object)
- Method in class cat.hist.
HistoryManager
Being an Observer, we must implement this method to get sensor events from those that we observe.
update(Object)
- Method in interface cat.sensor.core.
SensorListener
This method is for updating a listener of new sensor data.
update(Object)
- Method in class cat.sensor.soft.
AndSensor
Being an Observer, we must implement this method to get sensor events from those that we observe.
update(Object)
- Method in class cat.sensor.soft.
CallableSensor
Being an Observer, we must implement this method to get sensor events from those that we observe.
update(Object)
- Method in class cat.sig.
SensorMonitor
Being an Observer, we must implement this method to get sensor events from those that we observe.
V
VALUE
- Static variable in interface cat.hist.
Protocol
Value
- class cat.sensor.util.
Value
.
This class represents a sensor data value object.
Value(Object)
- Constructor for class cat.sensor.util.
Value
Construct a Value object with single local sensor data value.
Value(Object, Object)
- Constructor for class cat.sensor.util.
Value
Construct a Value object with two local sensor data values.
Value(Object, Agent, boolean)
- Constructor for class cat.sensor.util.
Value
Construct a Value object with single remote sensor data value.
Value(Object, Object, Agent, boolean)
- Constructor for class cat.sensor.util.
Value
Construct a Value object with two remote sensor data values.
value
- Variable in class cat.sensor.event.
SensorDataEvent
The data value of the sensor.
value
- Variable in class cat.sensor.util.
Value
The main value of this sensor data value object.
vector2Doubles(Vector)
- Static method in class cat.hist.
Util
Turns vector of doubles into array of doubles.
W
WIFI
- Static variable in class cat.sensor.util.
SensorOntology
wanted
- Variable in class cat.sig.event.
SigRequestEvent
The sensors wanted for joining the SIG.
willJoinSig(String, Vector, Vector, Vector)
- Method in class cat.app.
ContextApp
This method tells the ContextApp, that the app wants to join the given SIG.
A
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes