Package com.yahoo.messagebus.test
Class SimpleReply
java.lang.Object
com.yahoo.messagebus.Routable
com.yahoo.messagebus.Reply
com.yahoo.messagebus.test.SimpleReply
- Author:
- havardpe
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.yahoo.messagebus.Reply
addError, getError, getErrorCodes, getErrors, getMessage, getNumErrors, getRetryDelay, hasErrors, hasFatalErrors, setMessage, setRetryDelay, swapStateMethods inherited from class com.yahoo.messagebus.Routable
discard, getCallStack, getContext, getTrace, popHandler, pushHandler, setContext
-
Constructor Details
-
SimpleReply
-
-
Method Details
-
getType
public int getType()Description copied from class:RoutableReturns the type of this routable. The id '0' is reserved for the EmptyReply class. Other ids must be defined by the application protocol. -
getProtocol
public com.yahoo.text.Utf8String getProtocol()Description copied from class:RoutableReturn the name of the protocol that defines this routable. This must be implemented by all inheriting classes, and should then return the result ofProtocol.getName()of its protocol.- Specified by:
getProtocolin classRoutable- Returns:
- the name of the protocol defining this message.
-
getValue
-
setValue
-