|
Oracle Corp. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.wcp.diameter.GenericMessageFactory
Generic message factory. Base class for custom message factory implementations.
Constructor Summary | |
GenericMessageFactory()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GenericMessageFactory()
Method Detail |
public Answer createAnswer(java.nio.ByteBuffer bb, Connection c)
createAnswer
in interface MessageFactory
public Answer createAnswer(Request req, ResultCode rc)
createAnswer
in interface MessageFactory
public Request createRequest(java.nio.ByteBuffer bb, Connection c)
MessageFactory
createRequest
in interface MessageFactory
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)
MessageFactory
createRequest
in interface MessageFactory
cmd
- the command for the message
|
Documentation is available at http://e-docs.bea.com/wlcp/wlss40/ Copyright 2008 Oracle Corp. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |