|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.transport.udp.PeerTestState
class PeerTestState
Field Summary | |
---|---|
static short |
ALICE
|
static short |
BOB
|
static short |
CHARLIE
|
Constructor Summary | |
---|---|
PeerTestState()
|
Method Summary | |
---|---|
SessionKey |
getAliceIntroKey()
|
java.net.InetAddress |
getAliceIP()
If we are Alice, this will contain the IP that Bob says we can be reached at - the IP Charlie says we can be reached at is _aliceIPFromCharlie |
java.net.InetAddress |
getAliceIPFromCharlie()
|
int |
getAlicePort()
If we are Alice, this will contain the port that Bob says we can be reached at - the port Charlie says we can be reached at is _alicePortFromCharlie |
int |
getAlicePortFromCharlie()
|
long |
getBeginTime()
when did this test begin? |
SessionKey |
getBobCipherKey()
|
java.net.InetAddress |
getBobIP()
|
SessionKey |
getBobMACKey()
|
int |
getBobPort()
|
SessionKey |
getCharlieIntroKey()
|
java.net.InetAddress |
getCharlieIP()
|
int |
getCharliePort()
|
long |
getLastSendTime()
when did we last send out a packet? |
long |
getNonce()
|
short |
getOurRole()
Are we Alice, bob, or Charlie. |
int |
getPacketsRelayed()
|
long |
getReceiveAliceTime()
when did we last hear from alice? |
long |
getReceiveBobTime()
when did we last hear from bob? |
long |
getReceiveCharlieTime()
when did we last hear from charlie? |
void |
incrementPacketsRelayed()
|
void |
setAliceIntroKey(SessionKey key)
|
void |
setAliceIP(java.net.InetAddress ip)
|
void |
setAliceIPFromCharlie(java.net.InetAddress ip)
|
void |
setAlicePort(int alicePort)
|
void |
setAlicePortFromCharlie(int alicePortFromCharlie)
|
void |
setBeginTime(long when)
|
void |
setBobCipherKey(SessionKey key)
|
void |
setBobIP(java.net.InetAddress ip)
|
void |
setBobMACKey(SessionKey key)
|
void |
setBobPort(int bobPort)
|
void |
setCharlieIntroKey(SessionKey key)
|
void |
setCharlieIP(java.net.InetAddress ip)
|
void |
setCharliePort(int charliePort)
|
void |
setLastSendTime(long when)
|
void |
setNonce(long nonce)
|
void |
setOurRole(short role)
|
void |
setReceiveAliceTime(long when)
|
void |
setReceiveBobTime(long when)
|
void |
setReceiveCharlieTime(long when)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short ALICE
public static final short BOB
public static final short CHARLIE
Constructor Detail |
---|
PeerTestState()
Method Detail |
---|
public long getNonce()
public void setNonce(long nonce)
public short getOurRole()
public void setOurRole(short role)
public java.net.InetAddress getAliceIP()
public void setAliceIP(java.net.InetAddress ip)
public java.net.InetAddress getBobIP()
public void setBobIP(java.net.InetAddress ip)
public java.net.InetAddress getCharlieIP()
public void setCharlieIP(java.net.InetAddress ip)
public java.net.InetAddress getAliceIPFromCharlie()
public void setAliceIPFromCharlie(java.net.InetAddress ip)
public int getAlicePort()
public void setAlicePort(int alicePort)
public int getBobPort()
public void setBobPort(int bobPort)
public int getCharliePort()
public void setCharliePort(int charliePort)
public int getAlicePortFromCharlie()
public void setAlicePortFromCharlie(int alicePortFromCharlie)
public SessionKey getAliceIntroKey()
public void setAliceIntroKey(SessionKey key)
public SessionKey getCharlieIntroKey()
public void setCharlieIntroKey(SessionKey key)
public SessionKey getBobCipherKey()
public void setBobCipherKey(SessionKey key)
public SessionKey getBobMACKey()
public void setBobMACKey(SessionKey key)
public long getBeginTime()
public void setBeginTime(long when)
public long getLastSendTime()
public void setLastSendTime(long when)
public long getReceiveAliceTime()
public void setReceiveAliceTime(long when)
public long getReceiveBobTime()
public void setReceiveBobTime(long when)
public long getReceiveCharlieTime()
public void setReceiveCharlieTime(long when)
public int getPacketsRelayed()
public void incrementPacketsRelayed()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |