Class Mechanism
java.lang.Object
zmq.io.mechanism.Mechanism
- Direct Known Subclasses:
CurveClientMechanism, CurveServerMechanism, GssapiClientMechanism, GssapiServerMechanism, PlainClientMechanism, PlainServerMechanism
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Optionsprotected final SessionBaseprotected Stringfinal Metadatafinal Metadata -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMechanism(SessionBase session, Address peerAddress, Options options) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddProperty(ByteBuffer buf, String name, byte[] value) protected final voidaddProperty(ByteBuffer buf, String name, String value) protected final voidaddProperty(Msg msg, String name, byte[] value) protected final voidaddProperty(Msg msg, String name, String value) protected booleancompare(ByteBuffer a1, byte[] b, int offset, int length) protected booleanvoiddestroy()final Blobprotected inthandleErrorReason(String reason) abstract intnextHandshakeCommand(Msg msg) protected intparseErrorMessage(Msg msg) protected final intparseMetadata(ByteBuffer msg, int offset, boolean zapFlag) protected final intparseMetadata(Msg msg, int offset, boolean zapFlag) final Msgabstract intprotected intprotected final intprotected final voidsendZapRequest(Mechanisms mechanism, boolean more) protected final Stringabstract Mechanism.Statusstatus()abstract int
-
Field Details
-
options
-
zapProperties
-
zmtpProperties
-
session
-
statusCode
-
-
Constructor Details
-
Mechanism
-
-
Method Details
-
status
-
peerIdentity
-
getUserId
-
addProperty
-
addProperty
-
addProperty
-
addProperty
-
parseMetadata
-
parseMetadata
-
property
-
socketType
-
compare
-
compare
-
decode
-
encode
-
zapMsgAvailable
public abstract int zapMsgAvailable() -
processHandshakeCommand
-
nextHandshakeCommand
-
parseErrorMessage
-
handleErrorReason
-
sendZapRequest
-
receiveAndProcessZapReply
protected final int receiveAndProcessZapReply() -
destroy
public void destroy()
-