org.neo4j.com
Class Protocol
java.lang.Object
org.neo4j.com.Protocol
- Direct Known Subclasses:
- Server
public abstract class Protocol
- extends Object
|
Method Summary |
static void |
addLengthFieldPipes(org.jboss.netty.channel.ChannelPipeline pipeline,
int frameLength)
|
static boolean |
readBoolean(org.jboss.netty.buffer.ChannelBuffer buffer)
|
static String |
readString(org.jboss.netty.buffer.ChannelBuffer buffer)
|
static String |
readString(org.jboss.netty.buffer.ChannelBuffer buffer,
int length)
|
static void |
writeChars(org.jboss.netty.buffer.ChannelBuffer buffer,
char[] chars)
|
static void |
writeString(org.jboss.netty.buffer.ChannelBuffer buffer,
String name)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PORT
public static final int PORT
- See Also:
- Constant Field Values
MEGA
public static final int MEGA
- See Also:
- Constant Field Values
DEFAULT_FRAME_LENGTH
public static final int DEFAULT_FRAME_LENGTH
- See Also:
- Constant Field Values
INTEGER_SERIALIZER
public static final ObjectSerializer<Integer> INTEGER_SERIALIZER
LONG_SERIALIZER
public static final ObjectSerializer<Long> LONG_SERIALIZER
VOID_SERIALIZER
public static final ObjectSerializer<Void> VOID_SERIALIZER
INTEGER_DESERIALIZER
public static final Deserializer<Integer> INTEGER_DESERIALIZER
VOID_DESERIALIZER
public static final Deserializer<Void> VOID_DESERIALIZER
EMPTY_SERIALIZER
public static final Serializer EMPTY_SERIALIZER
Protocol
public Protocol()
addLengthFieldPipes
public static void addLengthFieldPipes(org.jboss.netty.channel.ChannelPipeline pipeline,
int frameLength)
writeString
public static void writeString(org.jboss.netty.buffer.ChannelBuffer buffer,
String name)
writeChars
public static void writeChars(org.jboss.netty.buffer.ChannelBuffer buffer,
char[] chars)
readString
public static String readString(org.jboss.netty.buffer.ChannelBuffer buffer)
readBoolean
public static boolean readBoolean(org.jboss.netty.buffer.ChannelBuffer buffer)
readString
public static String readString(org.jboss.netty.buffer.ChannelBuffer buffer,
int length)
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.