Package org.eclipse.net4j
Interface ILocationAware
- All Known Subinterfaces:
IChannel,IChannelMultiplexer,IConnector,IJVMChannel,IJVMConnector,InternalChannel,InternalChannelMultiplexer,InternalConnector,IProtocol<INFRA_STRUCTURE>,IProtocol2<INFRA_STRUCTURE>,IProtocol3<INFRA_STRUCTURE>,IServerConnector,ISignalProtocol<INFRA_STRUCTURE>,ISignalProtocol.WithSignalCounters<INFRA_STRUCTURE>,ITCPConnector,IWSConnector
- All Known Implementing Classes:
AuthenticatingSignalProtocol,Channel,ChannelMultiplexer,Connector,HeartBeatProtocol,HeartBeatProtocol.Server,Protocol,SignalProtocol
public interface ILocationAware
- Since:
- 2.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum -
Method Summary
Modifier and TypeMethodDescriptionbooleanisClient()Same as.getLocation()==ILocationAware.Location.CLIENTbooleanisServer()Same as.getLocation()==ILocationAware.Location.SERVER
-
Method Details
-
getLocation
ILocationAware.Location getLocation() -
isClient
boolean isClient()Same as.getLocation()==ILocationAware.Location.CLIENT -
isServer
boolean isServer()Same as.getLocation()==ILocationAware.Location.SERVER
-