org.neo4j.kernel.ha.com.slave
Class SlaveServer

java.lang.Object
  extended by org.neo4j.com.Protocol
      extended by org.neo4j.com.Server<Slave,Void>
          extended by org.neo4j.kernel.ha.com.slave.SlaveServer
All Implemented Interfaces:
org.jboss.netty.channel.ChannelPipelineFactory, org.neo4j.kernel.lifecycle.Lifecycle

public class SlaveServer
extends org.neo4j.com.Server<Slave,Void>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.com.Server
org.neo4j.com.Server.Configuration
 
Nested classes/interfaces inherited from class org.neo4j.com.Protocol
org.neo4j.com.Protocol.FileStreamsDeserializer
 
Field Summary
static byte APPLICATION_PROTOCOL_VERSION
           
 
Fields inherited from class org.neo4j.com.Server
DEFAULT_BACKUP_PORT, DEFAULT_MAX_NUMBER_OF_CONCURRENT_TRANSACTIONS
 
Fields inherited from class org.neo4j.com.Protocol
DEFAULT_FRAME_LENGTH, EMPTY_SERIALIZER, INTEGER_DESERIALIZER, INTEGER_SERIALIZER, LONG_SERIALIZER, MEGA, PORT, VOID_DESERIALIZER, VOID_SERIALIZER
 
Constructor Summary
SlaveServer(Slave requestTarget, org.neo4j.com.Server.Configuration config, org.neo4j.kernel.logging.Logging logging)
           
 
Method Summary
protected  void finishOffChannel(org.jboss.netty.channel.Channel channel, org.neo4j.com.RequestContext context)
           
protected  org.neo4j.com.RequestType<Slave> getRequestContext(byte id)
           
 
Methods inherited from class org.neo4j.com.Server
getConnectedSlaveChannels, getInternalProtocolVersion, getPipeline, getRequestTarget, getSocketAddress, handleRequest, init, mapSlave, readContext, responseWritten, shouldLogFailureToFinishOffChannel, shutdown, start, stop, targetCaller, tryToFinishOffChannel, tryToFinishOffChannel, unmapSlave, writeFailureResponse
 
Methods inherited from class org.neo4j.com.Protocol
addLengthFieldPipes, assertChunkSizeIsWithinFrameSize, readBoolean, readString, readString, writeChars, writeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_PROTOCOL_VERSION

public static final byte APPLICATION_PROTOCOL_VERSION
See Also:
Constant Field Values
Constructor Detail

SlaveServer

public SlaveServer(Slave requestTarget,
                   org.neo4j.com.Server.Configuration config,
                   org.neo4j.kernel.logging.Logging logging)
            throws IOException
Throws:
IOException
Method Detail

getRequestContext

protected org.neo4j.com.RequestType<Slave> getRequestContext(byte id)
Specified by:
getRequestContext in class org.neo4j.com.Server<Slave,Void>

finishOffChannel

protected void finishOffChannel(org.jboss.netty.channel.Channel channel,
                                org.neo4j.com.RequestContext context)
Specified by:
finishOffChannel in class org.neo4j.com.Server<Slave,Void>


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.