|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageFactory
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(ByteBuffer bb, Connection c) |
Answer |
createAnswer(Request req, ResultCode rc) |
Request |
createRequest(ByteBuffer bb, 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. |
Method Detail |
---|
Request createRequest(ByteBuffer bb, Connection c)
bb
- the bytes to be decodedc
- the connection from which the message was receivedAnswer createAnswer(ByteBuffer bb, Connection c)
Request createRequest(Node node, Command cmd, int appId, String sessionId)
cmd
- the command for the messageAnswer createAnswer(Request req, ResultCode rc)
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Oracle Corporation. All Rights Reserved.