|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageListener
A low-level listener that is inserted into the Transaction and Transport layers of the SIP stack. Implementations of this interface are notified when a new message is received by the container, or a message is about to be sent. Note that message retransmissions are not supressed, so an implementation of this interface must be prepared to handle potentially large volumes of messages.
Method Summary | |
---|---|
void |
onRequest(SipServletRequest req, boolean incoming) This method is called for incoming and outgoing SIP requests. |
void |
onResponse(SipServletResponse resp, boolean incoming) This method is called for incoming and outgoing SIP responses. |
Method Detail |
---|
void onRequest(SipServletRequest req, boolean incoming)
req
- SIP requestincoming
- identifies if the request is arriving at the container (true
) or is generated by the container (false
).void onResponse(SipServletResponse resp, boolean incoming)
resp
- SIP responseincoming
- identifies if the request is arriving at the container (true
) or is generated by the container (false
).
|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |