|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
cat.sig.event.SigEvent
cat.sig.event.SigRequestEvent
This Sig Event is for sending a request to join a SIG.
Field Summary | |
private java.util.Vector |
agents
The agents currently in the SIG. |
private java.util.Vector |
giving
The sensors being given/shared. |
private java.util.Vector |
wanted
The sensors wanted for joining the SIG. |
Fields inherited from class cat.sig.event.SigEvent |
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
SigRequestEvent(java.lang.String sig,
java.util.Vector giving,
java.util.Vector wanted,
java.util.Vector agents)
This constructor initializes the event with the name of the SIG and the agents who are already in the SIG. |
Method Summary | |
java.util.Vector |
getAgents()
This method returns the agents already in the SIG. |
java.util.Vector |
getGivingSensors()
This method returns the sensors being given/shared. |
java.util.Vector |
getWantedSensors()
This method returns the sensors that are wanted to join this SIG. |
Methods inherited from class cat.sig.event.SigEvent |
getAgent, getSig |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.util.Vector wanted
private java.util.Vector giving
private java.util.Vector agents
Constructor Detail |
public SigRequestEvent(java.lang.String sig, java.util.Vector giving, java.util.Vector wanted, java.util.Vector agents)
sig
- The name of the SIG relating to the event.giving
- The sensors being given/shared.wanted
- The sensors wanted for joining the SIG.agents
- The agents in the sig.Method Detail |
public java.util.Vector getGivingSensors()
public java.util.Vector getWantedSensors()
public java.util.Vector getAgents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |