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, setDestinationRealm
public ApplicationId getId()
Application
getId
in class Application
protected void rcvRequest(Request req) throws DiameterException, IOException
Application
rcvRequest
in class Application
req
- 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
Application
rcvAnswer
in class Application
ans
- the Answer that was receivedDiameterException
- if an error occurred while processing the answerIOException
- if an I/O error occurred