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

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

public interface IProtocol2<INFRA_STRUCTURE>
extends IProtocol<INFRA_STRUCTURE>

A versioned protocol.

Since:
4.2

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.ILocationAware
ILocationAware.Location
 
Field Summary
static int UNSPECIFIED_VERSION
           
 
Method Summary
 int getVersion()
           
 
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
 

Field Detail

UNSPECIFIED_VERSION

static final int UNSPECIFIED_VERSION
See Also:
Constant Field Values
Method Detail

getVersion

int getVersion()


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