org.eclipse.net4j.signal
Interface ISignalProtocol<INFRA_STRUCTURE>

All Superinterfaces:
IBufferHandler, ILocationAware, INotifier, IProtocol<INFRA_STRUCTURE>, IUserAware
All Known Implementing Classes:
HeartBeatProtocol, HeartBeatProtocol.Server, SignalProtocol

public interface ISignalProtocol<INFRA_STRUCTURE>
extends IProtocol<INFRA_STRUCTURE>, INotifier

A protocol that consists of a number of stream-based signals.

Since:
2.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.ILocationAware
ILocationAware.Location
 
Field Summary
static long DEFAULT_TIMEOUT
           
static long NO_TIMEOUT
           
 
Method Summary
 void addStreamWrapper(IStreamWrapper streamWrapper)
           
 void close()
           
 IStreamWrapper getStreamWrapper()
           
 long getTimeout()
           
 IChannel open(IConnector connector)
           
 void setStreamWrapper(IStreamWrapper streamWrapper)
           
 void setTimeout(long timeout)
           
 
Methods inherited from interface org.eclipse.net4j.protocol.IProtocol
getBufferProvider, getChannel, getExecutorService, getInfraStructure, getType, setChannel, setExecutorService, setInfraStructure
 
Methods inherited from interface org.eclipse.net4j.util.security.IUserAware
getUserID
 
Methods inherited from interface org.eclipse.net4j.ILocationAware
getLocation, isClient, isServer
 
Methods inherited from interface org.eclipse.net4j.buffer.IBufferHandler
handleBuffer
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
 

Field Detail

NO_TIMEOUT

static final long NO_TIMEOUT
See Also:
Constant Field Values

DEFAULT_TIMEOUT

static final long DEFAULT_TIMEOUT
See Also:
Constant Field Values
Method Detail

getTimeout

long getTimeout()

setTimeout

void setTimeout(long timeout)

getStreamWrapper

IStreamWrapper getStreamWrapper()

setStreamWrapper

void setStreamWrapper(IStreamWrapper streamWrapper)

addStreamWrapper

void addStreamWrapper(IStreamWrapper streamWrapper)

open

IChannel open(IConnector connector)

close

void close()


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.