org.apache.zookeeper.server
public interface ServerCnxn extends Watcher
Modifier and Type | Interface and Description |
---|---|
static interface |
ServerCnxn.Stats
Statistics on the ServerCnxn
|
Watcher.Event
Modifier and Type | Method and Description |
---|---|
void |
finishSessionInit(boolean valid) |
ArrayList<Id> |
getAuthInfo() |
InetSocketAddress |
getRemoteAddress() |
long |
getSessionId() |
int |
getSessionTimeout() |
ServerCnxn.Stats |
getStats() |
void |
process(WatchedEvent event) |
void |
sendCloseSession() |
void |
sendResponse(ReplyHeader h,
org.apache.jute.Record r,
String tag) |
void |
setSessionId(long sessionId) |
static final Object me
int getSessionTimeout()
void sendResponse(ReplyHeader h, org.apache.jute.Record r, String tag) throws IOException
IOException
void sendCloseSession()
void finishSessionInit(boolean valid)
void process(WatchedEvent event)
long getSessionId()
void setSessionId(long sessionId)
InetSocketAddress getRemoteAddress()
ServerCnxn.Stats getStats()
Copyright © 2014 The Apache Software Foundation