Uses of Class
com.yahoo.messagebus.Routable
-
Packages that use Routable Package Description com.yahoo.messagebus This package contains the main API of the message bus.com.yahoo.messagebus.test This package contains utility classes for the unit tests in the com.yahoo.messagebus package. -
-
Uses of Routable in com.yahoo.messagebus
Subclasses of Routable in com.yahoo.messagebus Modifier and Type Class Description class
EmptyReply
The empty reply is the only concrete implementation of a message that is offered by the MessageBus.class
Message
A message is a child of Routable, it is not a reply, and it has a sequencing identifier.class
Reply
A reply is a response to a message that has been sent throught the messagebus.Methods in com.yahoo.messagebus that return Routable Modifier and Type Method Description Routable
Protocol. decode(com.yahoo.component.Version version, byte[] payload)
Decodes the protocol specific data into a routable of the correct type.Methods in com.yahoo.messagebus with parameters of type Routable Modifier and Type Method Description byte[]
Protocol. encode(com.yahoo.component.Version version, Routable routable)
Encodes the protocol specific data of a routable into a byte array.void
IntermediateSession. forward(Routable routable)
Forwards a routable to the next hop in its route.ReplyHandler
CallStack. pop(Routable routable)
Pop a frame from this stack.void
Message. swapState(Routable rhs)
void
Reply. swapState(Routable rhs)
void
Routable. swapState(Routable rhs)
Swaps the state that makes this routable unique to another routable. -
Uses of Routable in com.yahoo.messagebus.test
Subclasses of Routable in com.yahoo.messagebus.test Modifier and Type Class Description class
SimpleMessage
class
SimpleReply
Methods in com.yahoo.messagebus.test that return Routable Modifier and Type Method Description Routable
SimpleProtocol. decode(com.yahoo.component.Version version, byte[] data)
Routable
QueueAdapter. dequeue()
Methods in com.yahoo.messagebus.test with parameters of type Routable Modifier and Type Method Description byte[]
SimpleProtocol. encode(com.yahoo.component.Version version, Routable routable)
-