|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A MessageFactory can be optionally specified when defining a new Diameter command. Applications can override the default decoder for received messages in order to create Diameter Request and Answer objects of a more specified type.
Method Summary | |
Answer |
createAnswer(java.nio.ByteBuffer bb,
Connection c)
|
Answer |
createAnswer(Request req,
ResultCode rc)
|
Request |
createRequest(java.nio.ByteBuffer bb,
Connection c)
Decodes Diameter message from a byte buffer. |
Request |
createRequest(Node node,
Command cmd,
int appId,
java.lang.String sessionId)
Creates a new Message with the specified command. |
Method Detail |
public Answer createAnswer(java.nio.ByteBuffer bb, Connection c)
public Answer createAnswer(Request req, ResultCode rc)
public Request createRequest(java.nio.ByteBuffer bb, Connection c)
bb
- the bytes to be decodedc
- the connection from which the message was received
public Request createRequest(Node node, Command cmd, int appId, java.lang.String sessionId)
cmd
- the command for the message
|
Documentation is available at http://download.oracle.com/docs/cd/E13209_01/wlcp/wlss31/ Copyright 2007 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |