Uses of Class
org.simplesim.core.messaging.AbstractMessage
-
Uses of AbstractMessage in org.simplesim.core.messaging
Modifier and TypeClassDescriptionfinal class
Class for messages for direct (non-routed) message forwarding.final class
Special message class for using auto routing.Modifier and TypeMethodDescriptionfinal <M extends AbstractMessage<?>>
MAbstractPort.poll()
<M extends AbstractMessage<?>>
MPort.poll()
Returns and removes the last element in the message queue.final <M extends AbstractMessage<?>>
Collection<M>AbstractPort.readAll()
<M extends AbstractMessage<?>>
Collection<M>Port.readAll()
Returns the message queue.Modifier and TypeMethodDescriptionfinal void
AbstractPort.write
(AbstractMessage<?> message) void
Port.write
(AbstractMessage<?> msg) Puts a message to be forwarded on this port.Modifier and TypeMethodDescriptionfinal void
AbstractPort.writeAll
(Collection<AbstractMessage<?>> m) void
Port.writeAll
(Collection<AbstractMessage<?>> msg) Puts several messages to be forwarded on this port.