org.apache.zookeeper.server
Interface ServerCnxn
- All Superinterfaces:
- Watcher
- All Known Implementing Classes:
- NIOServerCnxn
public interface ServerCnxn
- extends Watcher
ruokCmd
static final int ruokCmd
- See
Zk Admin. this link is for all the commands.
dumpCmd
static final int dumpCmd
statCmd
static final int statCmd
reqsCmd
static final int reqsCmd
setTraceMaskCmd
static final int setTraceMaskCmd
getTraceMaskCmd
static final int getTraceMaskCmd
enviCmd
static final int enviCmd
srstCmd
static final int srstCmd
imok
static final ByteBuffer imok
me
static final Object me
getSessionTimeout
int getSessionTimeout()
close
void close()
sendResponse
void sendResponse(org.apache.zookeeper.proto.ReplyHeader h,
Record r,
String tag)
throws IOException
- Throws:
IOException
finishSessionInit
void finishSessionInit(boolean valid)
process
void process(WatchedEvent event)
- Specified by:
process
in interface Watcher
getSessionId
long getSessionId()
setSessionId
void setSessionId(long sessionId)
getAuthInfo
ArrayList<org.apache.zookeeper.data.Id> getAuthInfo()
getRemoteAddress
InetSocketAddress getRemoteAddress()
getStats
ServerCnxn.Stats getStats()