cnrg.itx.signal.SignalEvent
Class SignalEvent
java.lang.Object
|
+--cnrg.itx.signal.SignalEvent.SignalEvent
- Direct Known Subclasses:
- AbortSignalEvent, AliveSignalEvent, DialSignalEvent, DTMFSignalEvent, HangupSignalEvent, InviteSignalEvent
- public class SignalEvent
- extends java.lang.Object
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.
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SignalEvent
public SignalEvent()
- Default Constructor
- Parameters:
None.
-
SignalEvent
public SignalEvent(InvitePacket ip)
- Constructor
- Parameters:
ip
- is the InvitePacket received from the peer
SignalEvent
public SignalEvent(InvitePacket ip,
SignalConnection sc)
- Constructor
- Parameters:
ip
- is the InvitePacket received from the peersc
- is the SignalConnection object to used
SignalEvent
public SignalEvent(InvitePacket ip,
SignalConnection sc,
DesktopSignaling ds)
- Constructor
- Parameters:
ip
- is the InvitePacket received from the peersc
- is the SignalConnection object to usedds
- is the DesktopSignaling handle
getInvitePacket
public InvitePacket getInvitePacket()
- Returns:
- the InvitePacket received from the peer application
getSenderID
public UserID getSenderID()
- Returns:
- the peer's UserID
getSenderLoc
public Location getSenderLoc()
- Returns:
- the peer's Location object
- See Also:
Location
getDescription
public java.lang.String getDescription()
- Returns:
- the peer's string description
getSignalConnection
public SignalConnection getSignalConnection()
- Returns:
- the SignalConnection object
getDesktopSignaling
public DesktopSignaling getDesktopSignaling()
- Returns:
- the DesktopSignaling object
setSignalConnection
public void setSignalConnection(SignalConnection sc)
- This method sets the SignalConnection object to be used
- Parameters:
sc
- is the SignalConnection object- Returns:
- void
setDesktopSignaling
public void setDesktopSignaling(DesktopSignaling ds)
- This method sets the DesktopSignaling object
- Parameters:
ds
- is the DesktopSignaling object- Returns:
- void