public interface ProtocolServer
Modifier and Type | Method and Description |
---|---|
org.infinispan.server.core.ProtocolServer.SuitableConfiguration |
getConfiguration()
Returns the configuration used to start this server
|
org.jboss.netty.channel.ChannelHandler |
getDecoder()
Gets the decoder for this protocol server.
|
org.jboss.netty.handler.codec.oneone.OneToOneEncoder |
getEncoder()
Gets the encoder for this protocol server.
|
LifecycleChannelPipelineFactory |
getPipeline()
Returns a pipeline factory
|
void |
start(org.infinispan.server.core.ProtocolServer.SuitableConfiguration configuration,
EmbeddedCacheManager cacheManager)
Starts the server backed by the given cache manager and with the corresponding configuration.
|
void |
stop()
Stops the server
|
void start(org.infinispan.server.core.ProtocolServer.SuitableConfiguration configuration, EmbeddedCacheManager cacheManager)
void stop()
org.jboss.netty.handler.codec.oneone.OneToOneEncoder getEncoder()
org.jboss.netty.channel.ChannelHandler getDecoder()
org.infinispan.server.core.ProtocolServer.SuitableConfiguration getConfiguration()
LifecycleChannelPipelineFactory getPipeline()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.