com.schooner.MemCached.command
Class Command

java.lang.Object
  extended by com.schooner.MemCached.command.Command
Direct Known Subclasses:
DeletionCommand, FlushAllCommand, IncrdecrCommand, RetrievalCommand, StatsCommand, StorageCommand, SyncAllCommand, SyncCommand

public abstract class Command
extends Object

The parent of all the command class.

Since:
2.5.0
Author:
Qinliang Lin
See Also:
Command

Field Summary
static byte B_NEXTLINE
           
static byte B_RETURN
           
static String DELIMITER
           
static String RETURN
           
protected  byte[] textLine
           
 
Constructor Summary
Command()
           
 
Method Summary
 short request(SchoonerSockIO sock)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELIMITER

public static final String DELIMITER
See Also:
Constant Field Values

RETURN

public static final String RETURN
See Also:
Constant Field Values

B_RETURN

public static final byte B_RETURN
See Also:
Constant Field Values

B_NEXTLINE

public static final byte B_NEXTLINE
See Also:
Constant Field Values

textLine

protected byte[] textLine
Constructor Detail

Command

public Command()
Method Detail

request

public short request(SchoonerSockIO sock)
              throws IOException
Throws:
IOException


Copyright © 2012 Schooner Information Technology. All Rights Reserved.