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