|
||||||||||
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
This class is to represent events pertaining to SIGs such as a request to join a SIG, or a response to that request.
Field Summary | |
private Agent |
a
The agent you sent this SigEvent. |
private java.lang.String |
sig
The name of the SIG pertaining to the event. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
SigEvent(java.lang.String sig,
Agent a)
This constructor initializes the event with the name of the SIG and the agent who sent the event. |
Method Summary | |
Agent |
getAgent()
This method returns the agent who sent this event. |
java.lang.String |
getSig()
This method returns the name of the SIG that pertains to the event. |
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 Agent a
private java.lang.String sig
Constructor Detail |
public SigEvent(java.lang.String sig, Agent a)
sig
- The name of the SIG relating to the event.a
- The agent sending this event.Method Detail |
public java.lang.String getSig()
public Agent getAgent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |