Class PlainServerMechanism
java.lang.Object
zmq.io.mechanism.Mechanism
zmq.io.mechanism.plain.PlainServerMechanism
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Mechanism
Mechanism.Status -
Field Summary
FieldsFields inherited from class Mechanism
options, session, statusCode, zapProperties, zmtpProperties -
Constructor Summary
ConstructorsConstructorDescriptionPlainServerMechanism(SessionBase session, Address peerAddress, Options options) -
Method Summary
Modifier and TypeMethodDescriptionintnextHandshakeCommand(Msg msg) intprivate intproduceError(Msg msg) private intproduceHello(Msg msg) private intproduceInitiate(Msg msg) private intproduceReady(Msg msg) private intproduceWelcome(Msg msg) private voidsendZapRequest(byte[] username, byte[] password) status()intMethods inherited from class Mechanism
addProperty, addProperty, addProperty, addProperty, compare, compare, decode, destroy, encode, getUserId, handleErrorReason, parseErrorMessage, parseMetadata, parseMetadata, peerIdentity, property, receiveAndProcessZapReply, sendZapRequest, socketType
-
Field Details
-
state
-
-
Constructor Details
-
PlainServerMechanism
-
-
Method Details
-
nextHandshakeCommand
- Specified by:
nextHandshakeCommandin classMechanism
-
processHandshakeCommand
- Specified by:
processHandshakeCommandin classMechanism
-
status
-
zapMsgAvailable
public int zapMsgAvailable()- Specified by:
zapMsgAvailablein classMechanism
-
produceHello
-
produceWelcome
-
produceInitiate
-
produceReady
-
produceError
-
sendZapRequest
private void sendZapRequest(byte[] username, byte[] password)
-