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.StringERRORprivate booleanerrorCommandReceivedprivate booleanerrorCommandSentprivate static java.lang.StringOKprivate static java.lang.StringREADYprivate booleanreadyCommandReceivedprivate booleanreadyCommandSentprivate booleanzapConnectedprivate booleanzapReplyReceivedprivate booleanzapRequestSent-
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 intnextHandshakeCommand(Msg msg)private intprocessErrorCommand(Msg msg)intprocessHandshakeCommand(Msg msg)private intprocessReadyCommand(Msg msg)Mechanism.Statusstatus()intzapMsgAvailable()-
Methods inherited from class zmq.io.mechanism.Mechanism
addProperty, addProperty, addProperty, addProperty, compare, compare, decode, destroy, encode, getUserId, handleErrorReason, parseErrorMessage, 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:
nextHandshakeCommandin classMechanism
-
processHandshakeCommand
public int processHandshakeCommand(Msg msg)
- Specified by:
processHandshakeCommandin classMechanism
-
processReadyCommand
private int processReadyCommand(Msg msg)
-
processErrorCommand
private int processErrorCommand(Msg msg)
-
zapMsgAvailable
public int zapMsgAvailable()
- Specified by:
zapMsgAvailablein classMechanism
-
status
public Mechanism.Status status()
-
-