public class ExchangeBlock
extends io.odysz.anson.Anson
Modifier and Type | Field and Description |
---|---|
AnResultset |
anspage |
AnResultset |
chpage |
HashMap<String,AnResultset> |
entities |
static String |
ExchangeFlagCol |
Constructor and Description |
---|
ExchangeBlock(String src,
String peer,
String sessionId,
ExessionAct exstate) |
Modifier and Type | Method and Description |
---|---|
int |
answers() |
ExchangeBlock |
answers(ExessionPersist p)
Copy answer from
p |
ExchangeBlock |
chpage(AnResultset rs,
HashMap<String,AnResultset> entities) |
ExchangeBlock |
chpagesize(int size) |
int |
enitities() |
int |
enitities(String tbl) |
boolean |
hasmore()
Is the synode has more challenge blocks, which is
need to behandled before closing exchange?
|
boolean |
moreChallenge() |
ExchangeBlock |
nv(HashMap<String,Nyquence> nyquvect) |
void |
print(PrintStream out) |
void |
removeChgsub(AnResultset challenpage,
String synode) |
ExchangeBlock |
requirestore() |
ExchangeBlock |
seq(ExessionPersist xp)
Set challengeId & answerId
|
int |
synact() |
ExchangeBlock |
synodes(AnResultset rs) |
ExchangeBlock |
totalChallenges(int count,
int chsize) |
appendArr, appendObjStr, appendPair, escape, fromBlock, fromJson, fromJson, toBlock, toEnvelope, toJson, toJson, toMapBlock, toString, unescape
public static final String ExchangeFlagCol
public AnResultset chpage
public HashMap<String,AnResultset> entities
public AnResultset anspage
public ExchangeBlock(String src, String peer, String sessionId, ExessionAct exstate)
public boolean hasmore()
public ExchangeBlock nv(HashMap<String,Nyquence> nyquvect)
public int enitities()
public int answers()
public int enitities(String tbl)
public ExchangeBlock answers(ExessionPersist p)
p
p
- public void removeChgsub(AnResultset challenpage, String synode) throws SQLException
SQLException
public ExchangeBlock chpagesize(int size)
public ExchangeBlock totalChallenges(int count, int chsize)
public ExchangeBlock synodes(AnResultset rs)
public int synact()
public ExchangeBlock seq(ExessionPersist xp)
this.challengeId = xp.challengeId; this.answerId = xp.answerId;
xp
- Persistpublic ExchangeBlock requirestore()
public ExchangeBlock chpage(AnResultset rs, HashMap<String,AnResultset> entities)
public boolean moreChallenge()
public void print(PrintStream out)
Copyright © 2024. All rights reserved.