JXTA

Uses of Class
net.jxta.peer.PeerID

Packages that use PeerID
net.jxta.id IDs are used within JXTA to refer to peers, peer groups, pipes and other types of resources. 
net.jxta.meter Provides logging and monitoring facilities for debugging and auditing of messaging and service invocation within JXTA. 
net.jxta.peer Provides definition for the standard JXTA Peer Info Service. 
net.jxta.peergroup Peer groups are formed as a collection of peers that have agreed upon a common set of services. 
net.jxta.platform Classes for defining code modules within JXTA. 
net.jxta.protocol Provides inteface objects for Advertisments and protocol messages for the JXTA Core and Standard Protocols. 
net.jxta.resolver The JXTA Resolver Services provides a generic mechanism for JXTA Services to send "Queries", and receive "Responses". 
net.jxta.socket The socket package provides interface ala Socket over JXTA pipes. 
net.jxta.util A collection of utility classes used by the JXTA implementation and/or useful to users of the JXTA API. 
 

Uses of PeerID in net.jxta.id
 

Methods in net.jxta.id that return PeerID
static PeerID IDFactory.newPeerID(PeerGroupID groupID)
          Creates a new PeerID instance.
 PeerID IDFactory.Instantiator.newPeerID(PeerGroupID groupID)
          Creates a new PeerID instance.
static PeerID IDFactory.newPeerID(PeerGroupID groupID, byte[] seed)
          Creates a new PeerID instance.
 PeerID IDFactory.Instantiator.newPeerID(PeerGroupID groupID, byte[] seed)
          Creates a new PeerID instance.
 

Uses of PeerID in net.jxta.meter
 

Methods in net.jxta.meter that return PeerID
 PeerID PeerMonitorInfoEvent.getPeerID()
          Get PeerID of remote Peer
 PeerID MonitorEvent.getPeerID()
          PeerID of reporting Peer.
 

Methods in net.jxta.meter with parameters of type PeerID
static MonitorEvent MonitorEvent.createFailureEvent(int type, PeerID peerID, int requestId)
          Convenience factory method
static MonitorEvent MonitorEvent.createRemoteMonitorReportEvent(PeerID peerID, int requestId, MonitorReport monitorReport)
          Convenience factory method
 

Constructors in net.jxta.meter with parameters of type PeerID
PeerMonitorInfoEvent(PeerID peerID, PeerMonitorInfo peerMonitorInfo)
          PeerMonitorInfoEvent
 

Uses of PeerID in net.jxta.peer
 

Methods in net.jxta.peer that return PeerID
static PeerID PeerID.create(URI fromURI)
          Creates an ID by parsing the given URI.
 PeerID PeerID.intern()
          Returns a canonical representation for the ID object.
 

Methods in net.jxta.peer with parameters of type PeerID
 void PeerInfoService.addRemoteMonitorListener(PeerID peerID, MonitorFilter monitorFilter, long reportRate, boolean includeCumulative, MonitorListener monitorListener, long lease, long timeout)
          Get MonitorReports at a specified rates of metrics accrued over time from the ServiceMonitors (specified in the MonitorFilter) about the specified remote Peer.
 void PeerInfoService.getCumulativeMonitorReport(PeerID peerID, MonitorFilter monitorFilter, MonitorListener monitorListener, long timeout)
          Get a MonitorReport of total accumulated metrics from the ServiceMonitors (specified in the MonitorFilter) since they were created/reset for the specified remote Peer.
 void PeerInfoService.getPeerMonitorInfo(PeerID peerID, PeerMonitorInfoListener peerMonitorInfoListener, long timeout)
          Obtain the monitoring capabilities of a Remote Peer.
 void PeerInfoService.removeRemoteMonitorListener(PeerID peerID, MonitorListener monitorListener, long timeout)
          Stop the periodic reporting for all registered filters to the specified Peer corresponding to this MonitorListener.
 

Uses of PeerID in net.jxta.peergroup
 

Methods in net.jxta.peergroup that return PeerID
 PeerID LightWeightPeerGroup.getPeerID()
          Return the Peer ID by which this Peer is known within this Peer Group.
 PeerID PeerGroup.getPeerID()
          Return the Peer ID by which this Peer is known within this Peer Group.
 

Uses of PeerID in net.jxta.platform
 

Fields in net.jxta.platform declared as PeerID
protected  PeerID NetworkConfigurator.peerid
          Default PeerID
 

Methods in net.jxta.platform that return PeerID
 PeerID NetworkConfigurator.getPeerID()
          Gets the PeerID
 PeerID NetworkManager.getPeerID()
          Getter for property 'peerID'.
 

Methods in net.jxta.platform with parameters of type PeerID
 void NetworkConfigurator.setPeerID(PeerID peerid)
          Sets the PeerID (by default, a new PeerID is generated).
 void NetworkManager.setPeerID(PeerID peerID)
          Setter for property 'peerID'.
 

Uses of PeerID in net.jxta.protocol
 

Methods in net.jxta.protocol that return PeerID
 PeerID RouteAdvertisement.getDestPeerID()
          Returns the route destination Peer ID
 PeerID RouteQueryMsg.getDestPeerID()
          Deprecated. returns the destination peer ID we are looking for
 PeerID AccessPointAdvertisement.getPeerID()
          Gets the PeerID for this access point.
 PeerID PeerAdvertisement.getPeerID()
          Returns the id of the peer.
 PeerID SrdiMessage.getPeerID()
          returns the source peerid
 PeerID RdvAdvertisement.getPeerID()
          get the rdv peer id
 PeerID PeerInfoQueryMessage.getSourcePid()
          returns the sender's pid
 PeerID PeerInfoResponseMessage.getSourcePid()
          returns the sender's pid
 PeerID PeerInfoQueryMessage.getTargetPid()
          returns the target pid
 PeerID PeerInfoResponseMessage.getTargetPid()
          returns the target pid
 

Methods in net.jxta.protocol that return types with arguments of type PeerID
 Set<PeerID> RouteQueryMsg.getBadHops()
          Deprecated. returns the bad hops know to the route
 

Methods in net.jxta.protocol with parameters of type PeerID
 void RouteQueryMsg.addBadHop(PeerID badHop)
          Deprecated. Adds a bad hop to the list of those known to be bad for this route.
static void RouteAdvertisement.cleanupLoop(RouteAdvertisement route, PeerID localPeer)
          Remove loops from the route advertisement by shortcutting cycle from the route
 boolean RouteAdvertisement.containsHop(PeerID pid)
          Check if the route contains the following hop
 AccessPointAdvertisement RouteAdvertisement.getHop(PeerID pid)
          Return a hop from the list of hops.
static RouteAdvertisement RouteAdvertisement.newRoute(PeerID destPid, PeerID firsthop, Vector<AccessPointAdvertisement> hops)
          construct a new route

WARNING hops may be MODIFIED.

 AccessPointAdvertisement RouteAdvertisement.nextHop(PeerID currentHop)
          Return the hop that follows the specified currentHop.
 boolean RouteAdvertisement.removeHop(PeerID pid)
          Remove a hop from the list of hops.
 void RouteAdvertisement.setDestPeerID(PeerID pid)
          Sets the route destination peer id.
 void RouteQueryMsg.setDestPeerID(PeerID pid)
          Deprecated. set the destination PeerID we are searching a route for
 void AccessPointAdvertisement.setPeerID(PeerID pid)
          Sets the PeerID for this access point.
 void PeerAdvertisement.setPeerID(PeerID pid)
          Sets the id of the peer.
 void SrdiMessage.setPeerID(PeerID peerid)
          Set the source peerid
 void RdvAdvertisement.setPeerID(PeerID id)
          set the peer Id
 void PeerInfoQueryMessage.setSourcePid(PeerID pid)
          sets the sender's pid
 void PeerInfoResponseMessage.setSourcePid(PeerID pid)
          sets the sender's pid
 void PeerInfoQueryMessage.setTargetPid(PeerID pid)
          sets the target's pid
 void PeerInfoResponseMessage.setTargetPid(PeerID pid)
          sets the target's pid
static boolean RouteAdvertisement.stichRoute(RouteAdvertisement newRoute, RouteAdvertisement firstLeg, PeerID localPeer)
          Alter the given newRoute (which does not start from here) by using firstLeg, a known route to whence it starts from.
 

Method parameters in net.jxta.protocol with type arguments of type PeerID
 void RouteQueryMsg.setBadHops(Collection<PeerID> hops)
          Deprecated. Set the bad hops known into that route
 

Uses of PeerID in net.jxta.resolver
 

Methods in net.jxta.resolver with parameters of type PeerID
 void SrdiHandler.messageSendFailed(PeerID peerid, OutgoingMessageEvent e)
          Resolver calls this method when a failure to send a message to specified peer occurs
 

Uses of PeerID in net.jxta.socket
 

Fields in net.jxta.socket declared as PeerID
protected  PeerID JxtaSocket.remotePeerID
          The peer id of the peer we are connecting to or null if we are willing to connect to any peer.
 

Methods in net.jxta.socket that return PeerID
 PeerID JxtaSocketAddress.getPeerId()
          Returns the PeerID element of the address.
 

Methods in net.jxta.socket with parameters of type PeerID
 void JxtaSocket.connect(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAdv, int timeout)
          Connects to a JxtaServerSocket on a specific peer within a timeout specified in milliseconds
 

Constructors in net.jxta.socket with parameters of type PeerID
JxtaSocket(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAdv, int timeout)
          Create a JxtaSocket to any peer listening on pipeAdv this attempts establish a connection to specified pipe within a context of group and within the timeout specified in milliseconds
JxtaSocket(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAdv, int timeout, boolean reliable)
          Create a JxtaSocket to any peer listening on pipeAdv this attempts establish a connection to specified pipe within a context of group and within the timeout specified in milliseconds
JxtaSocketAddress(PeerGroupID peerGroupId, PipeAdvertisement pipeAdv, PeerID peerId)
          Deprecated. use the PeerAdvertisement variant instead
JxtaSocketAddress(PeerGroup peerGroup, PipeAdvertisement pipeAdv, PeerID peerId)
          Deprecated. use the PeerAdvertisement variant instead
 

Uses of PeerID in net.jxta.util
 

Methods in net.jxta.util with parameters of type PeerID
 void JxtaBiDiPipe.connect(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, int timeout, PipeMsgListener msgListener)
          Connects to a remote JxtaServerPipe
 void JxtaBiDiPipe.connect(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, int timeout, PipeMsgListener msgListener, boolean reliable)
          Connects to a remote JxtaServerPipe
 


JXSE