Uses of Class
org.apache.zookeeper.server.ServerCnxn
-
Packages that use ServerCnxn Package Description org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.server.auth org.apache.zookeeper.server.command org.apache.zookeeper.server.quorum -
-
Uses of ServerCnxn in org.apache.zookeeper.server
Subclasses of ServerCnxn in org.apache.zookeeper.server Modifier and Type Class Description class
NettyServerCnxn
class
NIOServerCnxn
This class handles communication with clients using NIO.Fields in org.apache.zookeeper.server declared as ServerCnxn Modifier and Type Field Description ServerCnxn
Request. cnxn
Fields in org.apache.zookeeper.server with type parameters of type ServerCnxn Modifier and Type Field Description protected java.util.Set<ServerCnxn>
ServerCnxnFactory. cnxns
Methods in org.apache.zookeeper.server that return types with arguments of type ServerCnxn Modifier and Type Method Description java.lang.Iterable<ServerCnxn>
NettyServerCnxnFactory. getConnections()
java.lang.Iterable<ServerCnxn>
NIOServerCnxnFactory. getConnections()
abstract java.lang.Iterable<ServerCnxn>
ServerCnxnFactory. getConnections()
Methods in org.apache.zookeeper.server with parameters of type ServerCnxn Modifier and Type Method Description void
ZooKeeperServer. closeSession(ServerCnxn cnxn, org.apache.zookeeper.proto.RequestHeader requestHeader)
void
ZooKeeperServer. finishSessionInit(ServerCnxn cnxn, boolean valid)
void
ZooKeeperServer. processConnectRequest(ServerCnxn cnxn, java.nio.ByteBuffer incomingBuffer)
void
ZooKeeperServer. processPacket(ServerCnxn cnxn, java.nio.ByteBuffer incomingBuffer)
void
ServerCnxnFactory. registerConnection(ServerCnxn serverCnxn)
void
ZKDatabase. removeCnxn(ServerCnxn cnxn)
remove a cnxn from the datatreevoid
ZooKeeperServer. reopenSession(ServerCnxn cnxn, long sessionId, byte[] passwd, int sessionTimeout)
protected void
ZooKeeperServer. revalidateSession(ServerCnxn cnxn, long sessionId, int sessionTimeout)
org.apache.zookeeper.data.Stat
ZKDatabase. statNode(java.lang.String path, ServerCnxn serverCnxn)
stat the pathvoid
ServerCnxnFactory. unregisterConnection(ServerCnxn serverCnxn)
Constructors in org.apache.zookeeper.server with parameters of type ServerCnxn Constructor Description ConnectionBean(ServerCnxn connection, ZooKeeperServer zk)
Request(ServerCnxn cnxn, long sessionId, int xid, int type, java.nio.ByteBuffer bb, java.util.List<org.apache.zookeeper.data.Id> authInfo)
-
Uses of ServerCnxn in org.apache.zookeeper.server.auth
Methods in org.apache.zookeeper.server.auth with parameters of type ServerCnxn Modifier and Type Method Description KeeperException.Code
AuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)
This method is called when a client passes authentication data for this scheme.KeeperException.Code
DigestAuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)
KeeperException.Code
IPAuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)
KeeperException.Code
SASLAuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)
KeeperException.Code
X509AuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)
-
Uses of ServerCnxn in org.apache.zookeeper.server.command
Fields in org.apache.zookeeper.server.command declared as ServerCnxn Modifier and Type Field Description protected ServerCnxn
AbstractFourLetterCommand. serverCnxn
Methods in org.apache.zookeeper.server.command with parameters of type ServerCnxn Modifier and Type Method Description boolean
CommandExecutor. execute(ServerCnxn serverCnxn, java.io.PrintWriter pwriter, int commandCode, ZooKeeperServer zkServer, ServerCnxnFactory factory)
This class decides which command to be executed and then executesConstructors in org.apache.zookeeper.server.command with parameters of type ServerCnxn Constructor Description AbstractFourLetterCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn)
CnxnStatResetCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn)
ConsCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn)
DirsCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn)
DumpCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn)
IsroCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn)
NopCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn, java.lang.String msg)
RuokCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn)
SetTraceMaskCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn, long trace)
StatCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn, int len)
StatResetCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn)
WatchCommand(java.io.PrintWriter pw, ServerCnxn serverCnxn, int len)
-
Uses of ServerCnxn in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum with parameters of type ServerCnxn Modifier and Type Method Description protected void
LeaderZooKeeperServer. revalidateSession(ServerCnxn cnxn, long sessionId, int sessionTimeout)
protected void
LearnerZooKeeperServer. revalidateSession(ServerCnxn cnxn, long sessionId, int sessionTimeout)
-