public class PlainClientMechanism extends Mechanism
| Modifier and Type | Class and Description |
|---|---|
private static class |
PlainClientMechanism.State |
Mechanism.Status| Modifier and Type | Field and Description |
|---|---|
private PlainClientMechanism.State |
state |
options, session, statusCode, zapProperties, zmtpProperties| Constructor and Description |
|---|
PlainClientMechanism(SessionBase session,
Options options) |
| Modifier and Type | Method and Description |
|---|---|
int |
nextHandshakeCommand(Msg msg) |
private int |
processError(Msg msg) |
int |
processHandshakeCommand(Msg msg) |
private int |
processReady(Msg msg) |
private int |
processWelcome(Msg msg) |
private int |
produceHello(Msg msg) |
private int |
produceInitiate(Msg msg) |
Mechanism.Status |
status() |
int |
zapMsgAvailable() |
addProperty, addProperty, addProperty, addProperty, compare, compare, decode, destroy, encode, getUserId, handleErrorReason, parseErrorMessage, parseMetadata, parseMetadata, peerIdentity, property, receiveAndProcessZapReply, sendZapRequest, socketTypeprivate PlainClientMechanism.State state
public PlainClientMechanism(SessionBase session, Options options)
public int nextHandshakeCommand(Msg msg)
nextHandshakeCommand in class Mechanismpublic int processHandshakeCommand(Msg msg)
processHandshakeCommand in class Mechanismpublic Mechanism.Status status()
public int zapMsgAvailable()
zapMsgAvailable in class Mechanismprivate int produceHello(Msg msg)
private int processWelcome(Msg msg)
private int produceInitiate(Msg msg)
private int processReady(Msg msg)
private int processError(Msg msg)