Class AbstractProtocol<V extends Value<V>>
java.lang.Object
org.smallmind.bayeux.oumuamua.server.spi.AbstractProtocol<V>
- All Implemented Interfaces:
Protocol<V>
- Direct Known Subclasses:
WebsocketProtocol
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.smallmind.bayeux.oumuamua.server.api.Protocol
Protocol.Listener<V extends Value<V>>, Protocol.ProtocolListener<V extends Value<V>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(Protocol.Listener<V> listener) voidonDelivery(Packet<V> outgoingPacket) voidvoidvoidremoveListener(Protocol.Listener<V> listener) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.smallmind.bayeux.oumuamua.server.api.Protocol
getLongPollTimeoutMilliseconds, getName, getTransport, getTransportNames, init, isLongPolling
-
Constructor Details
-
AbstractProtocol
public AbstractProtocol()
-
-
Method Details
-
onReceipt
-
onPublish
-
onDelivery
-
addListener
- Specified by:
addListenerin interfaceProtocol<V extends Value<V>>
-
removeListener
- Specified by:
removeListenerin interfaceProtocol<V extends Value<V>>
-