public class RelayApplication extends Application
| Constructor and Description |
|---|
RelayApplication() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
getId()
Returns the ApplicationId for the application.
|
protected void |
rcvAnswer(Answer ans)
Called by the container when a new Answer has been received for this
application.
|
protected void |
rcvRequest(Request req)
Called by the container when a new Request has been received for this
application.
|
createRequest, createSession, createSession, createSession, createSessionId, getDestinationHost, getDestinationRealm, getName, getNode, getOriginHost, getOriginRealm, getParameter, getParameter, init, log, log, rcvMessage, setDestinationHost, setDestinationRealmpublic ApplicationId getId()
ApplicationgetId in class Applicationprotected void rcvRequest(Request req) throws DiameterException, IOException
ApplicationrcvRequest in class Applicationreq - the Request that was receivedDiameterException - if an error occurred while processing the messageIOException - if an I/O error occurredprotected void rcvAnswer(Answer ans) throws DiameterException, IOException
ApplicationrcvAnswer in class Applicationans - the Answer that was receivedDiameterException - if an error occurred while processing the answerIOException - if an I/O error occurred