Project 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 Peer ID 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.pipe Pipes are the core mechanism for exchanging messages between JXTA applications or services. 
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.
static PeerID IDFactory.newPeerID(PeerGroupID groupID, byte[] seed)
          Creates a new PeerID instance.
 PeerID IDFactory.Instantiator.newPeerID(PeerGroupID groupID)
          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.createRemoteMonitorReportEvent(PeerID peerID, int requestId, MonitorReport monitorReport)
          Convenience factory method
static MonitorEvent MonitorEvent.createFailureEvent(int type, PeerID peerID, int requestId)
          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 with parameters of type PeerID
 void PeerInfoService.getPeerMonitorInfo(PeerID peerID, PeerMonitorInfoListener peerMonitorInfoListener, long timeout)
          Obtain the monitoring capabilities of a 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.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.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 PeerGroup.getPeerID()
          Return the Peer ID by which this Peer is known within this Peer Group.
 PeerID LightWeightPeerGroup.getPeerID()
          Return the Peer ID by which this Peer is known within this Peer Group.
 

Uses of PeerID in net.jxta.pipe
 

Methods in net.jxta.pipe with parameters of type PeerID
 OutputPipe PipeService.createOutputPipe(PipeAdvertisement adv, PeerID peerid, long timeout)
          Deprecated. Use PipeService.createOutputPipe(PipeAdvertisement, Set, long) with a Collections.singleton(Object) instead.
 void PipeService.createOutputPipe(PipeAdvertisement adv, PeerID peerid, OutputPipeListener listener)
          Deprecated. Use PipeService.createOutputPipe(PipeAdvertisement, Set, long) with a Collections.singleton(Object) instead.
 

Uses of PeerID in net.jxta.protocol
 

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

Methods in net.jxta.protocol with parameters of type PeerID
 void SrdiMessage.setPeerID(PeerID peerid)
          set the source peerid
 void RouteQueryMsg.setDestPeerID(PeerID pid)
          set the destination PeerID we are searching a route for
 void RouteAdvertisement.setDestPeerID(PeerID pid)
          Sets the route destination peer id
 boolean RouteAdvertisement.containsHop(PeerID pid)
          Check if the route contains the following hop
 AccessPointAdvertisement RouteAdvertisement.nextHop(PeerID pid)
          get the nexthop after the given hop
 boolean RouteAdvertisement.removeHop(PeerID pid)
          remove a hop from the list of hops
 AccessPointAdvertisement RouteAdvertisement.getHop(PeerID pid)
          return a hop from the list of hops
 void RouteAdvertisement.addEndpointAddressToHop(PeerID pid, EndpointAddress addr)
          Add a new endpointaddress to a hop
 void RouteAdvertisement.removeEndpointAddressToHop(PeerID pid, EndpointAddress addr)
          remove an endpointaddress to a hop
static RouteAdvertisement RouteAdvertisement.newRoute(PeerID destPid, PeerID firsthop, Vector hops)
          construct a new route

WARNING hops may be MODIFIED.

static RouteAdvertisement RouteAdvertisement.newRoute(PeerID destPid, Vector hops)
          construct a new route, all hops are in the hops parameter.
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.
static void RouteAdvertisement.cleanupLoop(RouteAdvertisement route, PeerID localPeer)
          Remove loops from the route advertisement by shortcuting cycle from the route
 void RdvAdvertisement.setPeerID(PeerID id)
          set the peer Id
 void PeerInfoResponseMessage.setSourcePid(PeerID pid)
          sets the sender's pid
 void PeerInfoResponseMessage.setTargetPid(PeerID pid)
          sets the target's pid
 void PeerInfoQueryMessage.setSourcePid(PeerID pid)
          sets the sender's pid
 void PeerInfoQueryMessage.setTargetPid(PeerID pid)
          sets the target's pid
 void PeerAdvertisement.setPeerID(PeerID pid)
          Sets the id of the peer.
 void AccessPointAdvertisement.setPeerID(PeerID pid)
          Sets the peerId of the associated access point.
 

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.peerid
           
 

Methods in net.jxta.socket with parameters of type PeerID
 void JxtaSocket.connect(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, int timeout)
          Connects to a remote JxtaSocket 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 pipeAd, 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 timeout specified in milliseconds
JxtaSocket(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, int timeout, boolean stream)
          Create a JxtaSocket to any peer listening on pipeAdv this attempts establish a connection to specified pipe within a context of group and within timeout specified in milliseconds
 

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 listener)
          Connects to a remote JxtaBiDiPipe
 void JxtaBiDiPipe.connect(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, int timeout, PipeMsgListener listener, boolean reliable)
          Connects to a remote JxtaBiDiPipe
 


JXTA J2SE