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