T - The message type.public interface ProtocolContext<T>
Protocol implementations to send incoming and outgoing messages.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ProtocolContext.Callback |
| Modifier and Type | Method and Description |
|---|---|
ProtocolContext.Callback |
callbackLater(int delay,
TimeUnit delayUnits,
Runnable action) |
void |
dispatchIncoming(T message) |
void |
dispatchOutgoing(T message) |
void |
stopLater() |
void |
stopped() |
void dispatchOutgoing(T message)
void dispatchIncoming(T message)
ProtocolContext.Callback callbackLater(int delay, TimeUnit delayUnits, Runnable action)
void stopLater()
void stopped()
Copyright © 2013. All rights reserved