public class Peer<T> extends Object
| Modifier and Type | Field and Description | 
|---|---|
| InetAddress | addrthis peer address | 
| T | dataThis may be used by higher layer to attach some data to a peer entry | 
| String | identitythe identity of that peer | 
| long | lastHeartBeattimestamp of the last heart beat | 
| int | portthis 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.