Package zmq.io.mechanism
Class NullMechanism
java.lang.Object
zmq.io.mechanism.Mechanism
zmq.io.mechanism.NullMechanism
-
Nested Class Summary
Nested classes/interfaces inherited from class zmq.io.mechanism.Mechanism
Mechanism.Status
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private boolean
private boolean
private static final String
private static final String
private boolean
private boolean
private boolean
private boolean
private boolean
Fields inherited from class zmq.io.mechanism.Mechanism
options, session, statusCode, zapProperties, zmtpProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
nextHandshakeCommand
(Msg msg) private int
processErrorCommand
(Msg msg) int
private int
processReadyCommand
(Msg msg) 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
-
OK
- See Also:
-
READY
- See Also:
-
ERROR
- See Also:
-
readyCommandSent
private boolean readyCommandSent -
errorCommandSent
private boolean errorCommandSent -
readyCommandReceived
private boolean readyCommandReceived -
errorCommandReceived
private boolean errorCommandReceived -
zapConnected
private boolean zapConnected -
zapRequestSent
private boolean zapRequestSent -
zapReplyReceived
private boolean zapReplyReceived
-
-
Constructor Details
-
NullMechanism
NullMechanism(SessionBase session, Address peerAddress, Options options)
-
-
Method Details
-
nextHandshakeCommand
- Specified by:
nextHandshakeCommand
in classMechanism
-
processHandshakeCommand
- Specified by:
processHandshakeCommand
in classMechanism
-
processReadyCommand
-
processErrorCommand
-
zapMsgAvailable
public int zapMsgAvailable()- Specified by:
zapMsgAvailable
in classMechanism
-
status
-