|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InetAddress | |
---|---|
mail.communication.inet |
Uses of InetAddress in mail.communication.inet |
---|
Fields in mail.communication.inet declared as InetAddress | |
---|---|
(package private) InetAddress |
InetAddress.source
|
Fields in mail.communication.inet with type parameters of type InetAddress | |
---|---|
private java.util.Collection<InetAddress> |
InetCommunicator.addr
this communicators address |
(package private) java.util.Hashtable<InetAddress,java.lang.Long> |
InetCommunicator.connections
map of connections to their last response time |
(package private) java.util.Hashtable<InetAddress,java.util.Vector<UDP>> |
InetCommunicator.received
contains received, unfinished packets |
(package private) java.util.Hashtable<InetAddress,java.lang.Integer> |
InetCommunicator.responses
list of received elementar response packets |
(package private) java.util.Hashtable<Node,InetAddress> |
InetCommunicator.useableAddresses
maps Nodes to InetAddresses of the Node, that work |
Methods in mail.communication.inet that return InetAddress | |
---|---|
InetAddress |
UDP.getActionAddress()
|
InetAddress |
UDP.getSender()
|
InetAddress |
InetAddress.getSource()
|
InetAddress |
InetCommunicator.parseAddress(java.lang.String addr)
|
Methods in mail.communication.inet with parameters of type InetAddress | |
---|---|
static java.net.DatagramPacket[] |
UDP.build(byte[] out,
InetAddress address)
split a given byte[] into DatagramPackets |
static java.net.DatagramPacket |
UDP.build(int type,
InetAddress address,
InetAddress action)
|
private boolean |
InetCommunicator.connectionEstablished(InetAddress address)
looks up the time, when the last package was received. |
private void |
InetCommunicator.establishConnection(InetAddress address)
establishes a connection. |
static java.net.DatagramPacket |
UDP.ping(int echo,
InetAddress address)
sends a ping, or answers a ping. |
private void |
InetCommunicator.punch_hole(InetAddress action)
sends PING packets to punch a UDP hole into the NAT router this peer is hidden behind |
private void |
InetCommunicator.receivePackage(java.io.InputStream in,
InetAddress sender)
builds a CPackage out of the InputStream. |
private void |
InetCommunicator.request_hole_punch(InetAddress action,
InetAddress sender)
sends a node a request to punch a UDP hole for another node |
private void |
InetCommunicator.reset(InetAddress address,
int reply)
resets the specified entry at adress in the response list |
private int |
InetCommunicator.waitForEcho(InetAddress address)
waits until any reply came from address. |
private int |
InetCommunicator.waitForEcho(InetAddress address,
int reply)
waits until the specified reply came from address. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |