|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthr.fer.tel.nims.dsa.client.SignalingAgent
public class SignalingAgent
SignalingAgent handles is responsible for handling all the signalization traffic between client and server.
| Constructor Summary | |
|---|---|
SignalingAgent(SignalingEventListener signalingEventListener,
java.lang.String configurationFile)
Creates the SignalingAgent. |
|
| Method Summary | |
|---|---|
void |
acceptParameterOffer(java.lang.String sdpParameters)
Accept parameter offer. |
void |
changeInClientProfile(java.lang.String sessionDescription)
Changes the session parameters. |
void |
changeInServiceRequirements(java.lang.String sessionDescription)
Reserves required resources specified in the sessionDescription or releases previously reserved resources. |
void |
establishSession(java.lang.String sessionDescription)
Establishes session with the server, sets the session parameters and reserves the resources specified in the session description. |
void |
register(java.lang.String userName)
|
void |
setServiceSIPURI(java.lang.String serviceSIPURI)
Sets SIP URI of the end point application sever. |
void |
setUserName(java.lang.String userName)
|
void |
terminateSession()
Terminates the session. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SignalingAgent(SignalingEventListener signalingEventListener,
java.lang.String configurationFile)
throws SignalingAgentException
signalingEventListener - class that implements SignalingEventListener inteface with
event triggers for the application.configurationFile - path to the configuration file.
SignalingAgentException - if configuration file could not be found or
signalingEventListener was not set.| Method Detail |
|---|
public void establishSession(java.lang.String sessionDescription)
throws SignalingAgentException
sessionDescription - session parameters that are sent to the server for session
establishment.
SignalingAgentException - if a message could not be sent.
public void terminateSession()
throws SignalingAgentException
SignalingAgentException - if a message could not be created or sent.
public void changeInClientProfile(java.lang.String sessionDescription)
throws SignalingAgentException
sessionDescription - new session description that is to be sent in the body of a
message.
SignalingAgentException - if a message could not be created or sent.
public void changeInServiceRequirements(java.lang.String sessionDescription)
throws SignalingAgentException
sessionDescription - session parameters that are used for resource reservation or
release of reserved resources.
SignalingAgentException - if method is called prior to the session establishment.
public void setServiceSIPURI(java.lang.String serviceSIPURI)
throws SignalingAgentException
serviceSIPURI - SIP URI of the end point application server.
SignalingAgentException - if the format of SIP URI is invalid.public void setUserName(java.lang.String userName)
public void register(java.lang.String userName)
throws SignalingAgentException
SignalingAgentExceptionpublic void acceptParameterOffer(java.lang.String sdpParameters)
sdpParameters - session parameters that were accepted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||