Interface EndpointRouter
-
- All Known Implementing Classes:
HotRodEndpointRouter,RestEndpointRouter,SinglePortEndpointRouter
public interface EndpointRouterThe EndpointRouter interface. Currently the EndpointRouter is coupled closely with the theEndpointRouter.Protocolit implements.- Author:
- Sebastian Ćaskawiec
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEndpointRouter.ProtocolThe protocol the router implements.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHost()Gets theEndpointRouter's host.InetAddressgetIp()Gets theEndpointRouter's IP address.IntegergetPort()Gets theEndpointRouter's port.EndpointRouter.ProtocolgetProtocol()GetsEndpointRouter.Protocolimplemented by thisEndpointRouter.voidstart(RoutingTable routingTable, org.infinispan.manager.EmbeddedCacheManager cm)Starts theEndpointRouter.voidstop()Stops theEndpointRouter.
-
-
-
Method Detail
-
start
void start(RoutingTable routingTable, org.infinispan.manager.EmbeddedCacheManager cm)
Starts theEndpointRouter.- Parameters:
routingTable-RoutingTablefor supplyingRoutes.
-
stop
void stop()
Stops theEndpointRouter.
-
getHost
String getHost()
Gets theEndpointRouter's host.
-
getIp
InetAddress getIp()
Gets theEndpointRouter's IP address.
-
getPort
Integer getPort()
Gets theEndpointRouter's port.
-
getProtocol
EndpointRouter.Protocol getProtocol()
GetsEndpointRouter.Protocolimplemented by thisEndpointRouter.
-
-