Name
PeerInfoResponseMessage
Synopsis
This message is sent in response to the peer information query message. It contains the following fields:
-
IncomingTrafficChannel
The channel(s) over which the peer can receive requests
-
LastIncomingMessageTime
The time when this peer last received a message
-
LastOutgoingMessageTime
The time when this peer last sent a message
-
SourcePid
The peer ID of the sender
-
TargetPid
The peer ID of the target
-
Timestamp
The time when this peer was last polled for status
-
Uptime
The time when this peer was started
All times are in seconds since January 1, 1970.
public abstract class PeerInfoResponseMessage { // Public Constructors public PeerInfoResponseMessage(); // Public Class Methods public static String getMessageType(); // Property Accessor Methods (by property name) public java.util.Enumeration getIncomingTrafficChannels(); public long getLastIncomingMessageTime(); public void setLastIncomingMessageTime(long t); public long getLastOutgoingMessageTime(); public void setLastOutgoingMessageTime(long t); public java.util.Enumeration getOutgoingTrafficChannels(); public net.jxta.document.Element getResponse(); public void setResponse(net.jxta.document.Element response); public net.jxta.id.ID getSourcePid(); public void setSourcePid(net.jxta.id.ID pid); public net.jxta.id.ID getTargetPid(); public void setTargetPid(net.jxta.id.ID pid); public long getTimestamp(); public void setTimestamp(long milliseconds); public long getUptime(); public void setUptime(long ...
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.