public final class tfmh
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
tcm |
AAA |
private tcm |
AAA_cache |
tcm |
callout |
protected byte[] |
challenge |
private byte[] |
challenge_rp |
static int |
CHLG_LEN |
tcm |
codeset |
tcm |
compos_fml |
private tcm |
compos_fml_cache |
tcm |
compos_hdr |
private tcm |
compos_hdr_cache |
private byte[] |
dom65_fillin |
private boolean |
dumpUData |
protected static int |
FMH_EDIT |
protected static int |
FMH_IN_USE |
protected static int |
FMH_NO_USER |
protected static int |
FMH_STORAGE |
private boolean |
isThisWS |
private int |
ltype_idx |
private int |
magic |
static int |
MAXDOMAIN_LEN |
protected static int |
MAXMTYPELEN |
protected static int |
MAXTSTRING |
tcm |
meta |
private tcm |
meta_cache |
private metahdr |
mhdr |
private java.io.DataOutputStream |
myEncoder |
private byte[] |
myScratch |
private TuxedoArrayOutputStream |
myWriteStream |
tcm |
route |
private tcm |
route_cache |
private static long |
serialVersionUID |
private tch |
tch_cache |
tcm |
tdom |
private tcm |
tdom_cache |
tcm |
tdom_vals |
tcm |
tdomtran |
private tcm |
tdomtran_cache |
private tcm |
tdomvals_cache |
static int |
TFMH_DOM_TYPE |
protected static int |
TFMH_SIZE |
static int |
TFMH_WS_TYPE |
static int |
TM_MAGIC |
static int |
TM_SMAGIC |
private int |
tmfmh_flag |
static int |
TMSEC_KEYLEN |
static int |
TMSEC_TICKETLEN |
protected static int |
TMSTYPELEN |
protected static int |
TMTYPELEN |
tcm |
tran |
private tcm |
tran_cache |
private int |
tstamp |
tcm |
unsol |
private tcm |
unsol_cache |
private boolean |
use64BitsLong |
tcm |
user |
private int |
userDataSize |
tcm |
ws |
private tcm |
ws_cache |
private byte[] |
ws65_challenge |
private byte[] |
ws65_session_key |
private byte[] |
ws65_ticket |
private int |
wsh_protocol |
protected static int |
WSMAXNETADDR |
Constructor and Description |
---|
tfmh() |
tfmh(int type) |
tfmh(int ltype_idx,
tcm udata) |
tfmh(int ltype_idx,
tcm udata,
int type) |
Modifier and Type | Method and Description |
---|---|
private int |
calDom65Acall1() |
private int |
calDom65Acall1Rply() |
private int |
calDom65LLE() |
private int |
calDom65LLERply() |
void |
dumpUData(boolean b) |
boolean |
equals(java.lang.Object obj) |
byte[] |
get_challenge_rp() |
byte[] |
get_ws_challenge() |
byte[] |
get_ws65_session_key() |
byte[] |
get_ws65_ticket() |
metahdr |
getMetahdr() |
int |
getProtocol() |
int |
getUserDataSize() |
int |
hashCode() |
boolean |
prepareForCache()
/**
|
int |
read_challenge(java.lang.String passwd) |
int |
read_dom_65_tfmh(java.io.DataInputStream decoder,
int protocol) |
int |
read_tfmh(java.io.DataInputStream decoder) |
int |
read_ws_65_tfmh(java.io.DataInputStream decoder,
boolean estcon_65) |
private boolean |
recvDom65Acall1(java.io.DataInputStream decoder,
TdomTcb msg) |
private boolean |
recvDom65Acall1Rply(java.io.DataInputStream decoder,
TdomTcb msg) |
private boolean |
recvDom65LLE(java.io.DataInputStream decoder,
TdomTcb msg) |
private boolean |
recvDom65LLERply(java.io.DataInputStream decoder,
TdomTcb msg) |
private void |
resetWrite() |
private boolean |
sendDom65Acall1(java.io.DataOutputStream encoder,
TdomTcb msg) |
private boolean |
sendDom65Acall1Rply(java.io.DataOutputStream encoder,
TdomTcb msg) |
private boolean |
sendDom65LLE(java.io.DataOutputStream encoder,
TdomTcb msg) |
private boolean |
sendDom65LLERply(java.io.DataOutputStream encoder,
TdomTcb msg) |
void |
set_timestamp(int timestamp) |
void |
set_TPENQUEUE(boolean to_enqueue) |
void |
set_ws65_session_key(byte[] session_key) |
void |
set_ws65_ticket(byte[] ticket) |
void |
setTMREPLY(boolean reply) |
private int |
write_challenge_val(java.io.DataOutputStream encoder,
java.lang.String password) |
int |
write_dom_65_tfmh(java.io.DataOutputStream encoder,
java.lang.String sending_dom,
int protocol,
int cmplimit) |
int |
write_tfmh(java.io.DataOutputStream encoder,
int cmplimit) |
int |
write_ws_65_tfmh(java.io.DataOutputStream encoder,
int cmplimit,
int authlev,
TPINIT tpinfo) |
private static final long serialVersionUID
private metahdr mhdr
private int magic
private int ltype_idx
private int tmfmh_flag
private boolean isThisWS
private int wsh_protocol
private byte[] ws65_challenge
private byte[] challenge_rp
private byte[] ws65_ticket
private byte[] ws65_session_key
protected byte[] challenge
private int tstamp
public tcm user
public tcm ws
public tcm tran
public tcm unsol
public tcm compos_hdr
public tcm compos_fml
public tcm tdom
public tcm tdomtran
public tcm route
public tcm tdom_vals
public tcm callout
public tcm AAA
public tcm meta
public tcm codeset
private transient tcm ws_cache
private transient tcm tran_cache
private transient tcm unsol_cache
private transient tcm compos_hdr_cache
private transient tcm compos_fml_cache
private transient tcm tdom_cache
private transient tcm tdomtran_cache
private transient tcm tdomvals_cache
private transient tcm route_cache
private transient tcm AAA_cache
private transient tcm meta_cache
private transient tch tch_cache
private transient byte[] dom65_fillin
private transient TuxedoArrayOutputStream myWriteStream
private transient java.io.DataOutputStream myEncoder
private transient byte[] myScratch
private boolean dumpUData
private int userDataSize
private boolean use64BitsLong
protected static final int TFMH_SIZE
public static final int TM_MAGIC
public static final int TM_SMAGIC
protected static final int FMH_IN_USE
protected static final int FMH_EDIT
protected static final int FMH_STORAGE
protected static final int FMH_NO_USER
public static final int TFMH_WS_TYPE
public static final int TFMH_DOM_TYPE
protected static final int TMTYPELEN
protected static final int TMSTYPELEN
protected static final int MAXTSTRING
protected static final int WSMAXNETADDR
protected static final int MAXMTYPELEN
public static final int TMSEC_TICKETLEN
public static final int TMSEC_KEYLEN
public static final int MAXDOMAIN_LEN
public static final int CHLG_LEN
public tfmh()
cl
- The compression threshold for this messagepublic tfmh(int type)
cl
- The compression threshold for this messagetype
- public tfmh(int ltype_idx, tcm udata)
ltype_idx
- The ltypeidx of this message typeudata
- The user data tcmcl
- The compression threshold for this messagepublic tfmh(int ltype_idx, tcm udata, int type)
ltype_idx
- The ltypeidx of this message typeudata
- The user data tcmtype
- public byte[] get_ws_challenge()
public byte[] get_challenge_rp()
public byte[] get_ws65_ticket()
public byte[] get_ws65_session_key()
public void set_ws65_ticket(byte[] ticket)
public void set_ws65_session_key(byte[] session_key)
public void set_timestamp(int timestamp)
public int getUserDataSize()
public boolean prepareForCache()
public void setTMREPLY(boolean reply)
reply
- true if this is a replypublic void set_TPENQUEUE(boolean to_enqueue)
to_enqueue
- if true this message will be used for tpenqueue,
if false, this message will not be used for tpenqueuepublic metahdr getMetahdr()
public int getProtocol()
private void resetWrite()
public int write_tfmh(java.io.DataOutputStream encoder, int cmplimit) throws java.io.IOException
encoder
- The output stream to which the message should be
writtenjava.io.IOException
public int write_dom_65_tfmh(java.io.DataOutputStream encoder, java.lang.String sending_dom, int protocol, int cmplimit) throws java.io.IOException
encoder
- The output stream to which the message should be
writtensending_dom
- The name of the sending domain (i.e., me)protocol
- The protocol number to speak. Must be metahdr.DOM65PROTOCOL
or lowercmplimit
- The compression thresholdjava.io.IOException
- if there is an error writing to the output streampublic int read_tfmh(java.io.DataInputStream decoder) throws java.io.IOException
decoder
- The object to read the tfmh message fromjava.io.IOException
- if there was an error reading the input streampublic int read_dom_65_tfmh(java.io.DataInputStream decoder, int protocol) throws java.io.IOException
decoder
- The object to read the tfmh message fromprotocol
- The protocol number to speak. Must be metahdr.DOM65PROTOCOL
or lowerjava.io.IOException
- if there was an error reading the input streamprivate int calDom65Acall1()
private int calDom65Acall1Rply()
private int calDom65LLE()
private int calDom65LLERply()
private boolean sendDom65Acall1(java.io.DataOutputStream encoder, TdomTcb msg) throws java.io.IOException
java.io.IOException
private boolean sendDom65Acall1Rply(java.io.DataOutputStream encoder, TdomTcb msg) throws java.io.IOException
java.io.IOException
private boolean sendDom65LLE(java.io.DataOutputStream encoder, TdomTcb msg) throws java.io.IOException
java.io.IOException
private boolean sendDom65LLERply(java.io.DataOutputStream encoder, TdomTcb msg) throws java.io.IOException
java.io.IOException
private boolean recvDom65Acall1(java.io.DataInputStream decoder, TdomTcb msg) throws java.io.IOException
java.io.IOException
private boolean recvDom65Acall1Rply(java.io.DataInputStream decoder, TdomTcb msg) throws java.io.IOException
java.io.IOException
private boolean recvDom65LLE(java.io.DataInputStream decoder, TdomTcb msg) throws java.io.IOException
java.io.IOException
private boolean recvDom65LLERply(java.io.DataInputStream decoder, TdomTcb msg) throws java.io.IOException
java.io.IOException
public int read_ws_65_tfmh(java.io.DataInputStream decoder, boolean estcon_65) throws java.io.IOException
decoder
- The object to read the tfmh message fromjava.io.IOException
- if there was an error reading the input streampublic int write_ws_65_tfmh(java.io.DataOutputStream encoder, int cmplimit, int authlev, TPINIT tpinfo) throws java.io.IOException
encoder
- The output stream to which the message should be
writtenjava.io.IOException
private int write_challenge_val(java.io.DataOutputStream encoder, java.lang.String password)
public int read_challenge(java.lang.String passwd)
public void dumpUData(boolean b)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object