org.eclipse.net4j.protocol
Interface IProtocol<INFRA_STRUCTURE>

All Superinterfaces:
IBufferHandler, ILocationAware, IUserAware
All Known Subinterfaces:
ISignalProtocol<INFRA_STRUCTURE>
All Known Implementing Classes:
HeartBeatProtocol, HeartBeatProtocol.Server, Protocol, SignalProtocol

public interface IProtocol<INFRA_STRUCTURE>
extends IUserAware, ILocationAware, IBufferHandler

A typed buffer handler for a channel.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.ILocationAware
ILocationAware.Location
 
Method Summary
 IBufferProvider getBufferProvider()
           
 IChannel getChannel()
           
 ExecutorService getExecutorService()
           
 INFRA_STRUCTURE getInfraStructure()
           
 String getType()
           
 void setChannel(IChannel channel)
           
 void setExecutorService(ExecutorService executorService)
           
 void setInfraStructure(INFRA_STRUCTURE infraStructure)
           
 
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
 

Method Detail

getType

String getType()

getChannel

IChannel getChannel()

setChannel

void setChannel(IChannel channel)

getInfraStructure

INFRA_STRUCTURE getInfraStructure()

setInfraStructure

void setInfraStructure(INFRA_STRUCTURE infraStructure)

getBufferProvider

IBufferProvider getBufferProvider()

getExecutorService

ExecutorService getExecutorService()

setExecutorService

void setExecutorService(ExecutorService executorService)


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