public class Exchanging
extends io.odysz.anson.Anson
server client ready ready exchanging [initexchange()
] exchanging [onExchange()
] confirming [ack()
] confirming [onAck()
] ready [#closexchange()
] ready [onclose()
]
Modifier and Type | Field and Description |
---|---|
static int |
confirming |
static int |
exchanging |
static int |
init |
static int |
mode_client |
static int |
mode_server |
static int |
ready |
int |
state |
Constructor and Description |
---|
Exchanging(int server0_client1) |
Modifier and Type | Method and Description |
---|---|
int |
ack() |
int |
can(int exp)
Test the
exp state is the right next state. |
int |
can(int exp,
ExessionPersist xp) |
int |
close() |
int |
initexchange() |
String |
name() |
static String |
name(int s) |
int |
onAck() |
int |
onclose() |
int |
onExchange() |
String |
toString() |
appendArr, appendObjStr, appendPair, escape, fromBlock, fromJson, fromJson, toBlock, toEnvelope, toJson, toJson, toMapBlock, unescape
public static final int init
public static final int exchanging
public static final int confirming
public static final int ready
public static final int mode_server
public static final int mode_client
public int state
public int initexchange()
public int onExchange()
public int ack()
public int onAck()
public int close()
public int onclose()
public String name()
public static String name(int s)
public String toString()
toString
in class io.odysz.anson.Anson
public int can(int exp) throws ExchangeException
exp
state is the right next state.exp
- ExchangeException
- expecting state if exp
is not the right one.public int can(int exp, ExessionPersist xp) throws ExchangeException
ExchangeException
Copyright © 2024. All rights reserved.