public interface MessageFactory
Modifier and Type | Method and Description |
---|---|
Answer |
createAnswer(ByteBuffer bb,
com.bea.wcp.diameter.transport.Connection c) |
Answer |
createAnswer(Request req,
ResultCode rc) |
Request |
createRequest(ByteBuffer bb,
com.bea.wcp.diameter.transport.Connection c)
Decodes Diameter message from a byte buffer.
|
Request |
createRequest(Node node,
Command cmd,
int appId,
String sessionId)
Creates a new Message with the specified command.
|
Request createRequest(ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c)
bb
- the bytes to be decodedc
- the connection from which the message was receivedAnswer createAnswer(ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c)
Request createRequest(Node node, Command cmd, int appId, String sessionId)
cmd
- the command for the messageAnswer createAnswer(Request req, ResultCode rc)