public class Peer<T> extends Object
Modifier and Type | Field and Description |
---|---|
InetAddress |
addr
this peer address
|
T |
data
This may be used by higher layer to attach some data to a peer entry
|
String |
identity
the identity of that peer
|
long |
lastHeartBeat
timestamp of the last heart beat
|
int |
port
this peer port
|
Constructor and Description |
---|
Peer(InetAddress addr,
int port,
String identity) |
public final String identity
public long lastHeartBeat
public final InetAddress addr
public final int port
public T data
public Peer(InetAddress addr, int port, String identity)
Copyright © 2013 Nuxeo SA. All Rights Reserved.