Package org.eclipse.net4j.signal
Interface ISignalProtocol<INFRA_STRUCTURE>
- All Superinterfaces:
IBufferHandler,ILocationAware,org.eclipse.net4j.util.event.INotifier,IProtocol<INFRA_STRUCTURE>,org.eclipse.net4j.util.security.IUserAware
- All Known Subinterfaces:
ISignalProtocol.WithSignalCounters<INFRA_STRUCTURE>
- All Known Implementing Classes:
AuthenticatingSignalProtocol,HeartBeatProtocol,HeartBeatProtocol.Server,SignalProtocol
public interface ISignalProtocol<INFRA_STRUCTURE>
extends IProtocol<INFRA_STRUCTURE>, org.eclipse.net4j.util.event.INotifier
- Since:
- 2.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceNested classes/interfaces inherited from interface org.eclipse.net4j.ILocationAware
ILocationAware.LocationNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStreamWrapper(org.eclipse.net4j.util.io.IStreamWrapper streamWrapper) voidclose()org.eclipse.net4j.util.io.IStreamWrapperlongopen(IConnector connector) voidsetStreamWrapper(org.eclipse.net4j.util.io.IStreamWrapper streamWrapper) voidsetTimeout(long timeout) Methods inherited from interface org.eclipse.net4j.buffer.IBufferHandler
handleBufferMethods inherited from interface org.eclipse.net4j.ILocationAware
getLocation, isClient, isServerMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListenerMethods inherited from interface org.eclipse.net4j.protocol.IProtocol
getBufferProvider, getChannel, getExecutorService, getInfraStructure, getType, setChannel, setExecutorService, setInfraStructureMethods inherited from interface org.eclipse.net4j.util.security.IUserAware
getUserID
-
Field Details
-
NO_TIMEOUT
static final long NO_TIMEOUT- See Also:
-
DEFAULT_TIMEOUT
static final long DEFAULT_TIMEOUT- See Also:
-
-
Method Details
-
getTimeout
long getTimeout() -
setTimeout
void setTimeout(long timeout) -
getStreamWrapper
org.eclipse.net4j.util.io.IStreamWrapper getStreamWrapper() -
setStreamWrapper
void setStreamWrapper(org.eclipse.net4j.util.io.IStreamWrapper streamWrapper) -
addStreamWrapper
void addStreamWrapper(org.eclipse.net4j.util.io.IStreamWrapper streamWrapper) -
open
-
close
void close()
-