|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cnrg.itx.signal.SignalEvent.SignalEvent
This class represents the base class for all SignalEvents. SignalEvents inform the application about incoming requests from peer applications and to support complex event driven applications.
Field Summary | |
protected DesktopSignaling |
myDS
The DesktopSignaling object that generated the event |
protected InvitePacket |
myInviteInfo
Invite Packet received from peer |
protected SignalConnection |
mySC
SignalConnection object |
Constructor Summary | |
SignalEvent()
Default Constructor |
|
SignalEvent(InvitePacket ip)
Constructor |
|
SignalEvent(InvitePacket ip,
SignalConnection sc)
Constructor |
|
SignalEvent(InvitePacket ip,
SignalConnection sc,
DesktopSignaling ds)
Constructor |
Method Summary | |
java.lang.String |
getDescription()
|
DesktopSignaling |
getDesktopSignaling()
|
InvitePacket |
getInvitePacket()
|
cnrg.itx.ds.UserID |
getSenderID()
|
cnrg.itx.ds.Location |
getSenderLoc()
|
SignalConnection |
getSignalConnection()
|
void |
setDesktopSignaling(DesktopSignaling ds)
This method sets the DesktopSignaling object |
void |
setSignalConnection(SignalConnection sc)
This method sets the SignalConnection object to be used |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected InvitePacket myInviteInfo
protected SignalConnection mySC
protected DesktopSignaling myDS
Constructor Detail |
public SignalEvent()
None.
- public SignalEvent(InvitePacket ip)
ip
- is the InvitePacket received from the peerpublic SignalEvent(InvitePacket ip, SignalConnection sc)
ip
- is the InvitePacket received from the peersc
- is the SignalConnection object to usedpublic SignalEvent(InvitePacket ip, SignalConnection sc, DesktopSignaling ds)
ip
- is the InvitePacket received from the peersc
- is the SignalConnection object to usedds
- is the DesktopSignaling handleMethod Detail |
public InvitePacket getInvitePacket()
public cnrg.itx.ds.UserID getSenderID()
public cnrg.itx.ds.Location getSenderLoc()
Location
public java.lang.String getDescription()
public SignalConnection getSignalConnection()
public DesktopSignaling getDesktopSignaling()
public void setSignalConnection(SignalConnection sc)
sc
- is the SignalConnection objectpublic void setDesktopSignaling(DesktopSignaling ds)
ds
- is the DesktopSignaling object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |