JXTA

Uses of Class
net.jxta.id.ID

Packages that use ID
net.jxta.codat Codats are container objects that can hold both data or code and are associated with a JXTA ID. 
net.jxta.credential Credentials provide the basic mechanisms for securly establishing and communicating identity within JXTA. 
net.jxta.discovery The JXTA Discovery Service provides an asynchronous mechanism for discovering Peer Advertisements, Group Advertisements, and other general JXTA Advertisements (pipes, services, etc.). 
net.jxta.document JXTA Documents are containers for both structured and unstructured data. 
net.jxta.endpoint Provides interfaces and classes used for the addressing, filtering, sending, and receiving of messages within JXTA. 
net.jxta.id IDs are used within JXTA to refer to peers, peer groups, pipes and other types of resources. 
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.pipe Pipes are the core mechanism for exchanging messages between JXTA applications or 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.rendezvous The RendezVous Service is responsible for propagating messages within a JXTA PeerGroup. 
net.jxta.util A collection of utility classes used by the JXTA implementation and/or useful to users of the JXTA API. 
 

Uses of ID in net.jxta.codat
 

Subclasses of ID in net.jxta.codat
 class CodatID
          An identifier that enables canonical references to be made to a Codat within the context of a specific peer group.
 

Methods in net.jxta.codat that return ID
 ID Codat.getCodatID()
          Returns the CodatID of this Codat.
 ID Codat.getMetaID()
          Returns the CodatID of an associated Codat for which this Codat is metadata or null if there is no associated Codat.
abstract  ID CodatID.getPeerGroupID()
          Returns PeerGroupID of the Peer Group to which this Codat ID belongs.
 

Uses of ID in net.jxta.credential
 

Methods in net.jxta.credential that return ID
 ID Credential.getPeerGroupID()
          Returns the peerGroupID associated with this credential.
 ID AuthenticationCredential.getPeerGroupID()
          Returns the peerGroupID associated with this credential.
 ID Credential.getPeerID()
          Returns the peerID associated with this credential.
 ID AuthenticationCredential.getPeerID()
          Returns the peerID associated with this credential.
 

Uses of ID in net.jxta.discovery
 

Methods in net.jxta.discovery with parameters of type ID
 long DiscoveryService.getAdvExpirationTime(ID id, int type)
          Returns the maximum duration in milliseconds for which this document will be cached by peers other than the publisher.
 long DiscoveryService.getAdvLifeTime(ID id, int type)
          Returns the maximum duration in milliseconds for which this document should be kept in local cache.
 

Uses of ID in net.jxta.document
 

Methods in net.jxta.document that return ID
abstract  ID Advertisement.getID()
          Returns an ID which identifies this Advertisement as uniquely as possible.
 

Uses of ID in net.jxta.endpoint
 

Constructors in net.jxta.endpoint with parameters of type ID
EndpointAddress(ID id, String service, String serviceParam)
          Constructor which builds an address from a standard jxta id and a service and param.
 

Uses of ID in net.jxta.id
 

Fields in net.jxta.id declared as ID
static ID ID.nullID
          The null ID.
 

Methods in net.jxta.id that return ID
static ID ID.create(URI fromURI)
          Creates an ID by parsing the given URI.
static ID IDFactory.fromURI(URI source)
          Construct a new ID instance from a JXTA ID contained in a URI.
 ID IDFactory.Instantiator.fromURI(URI source)
          Construct a new ID instance from a JXTA ID contained in a URI.
static ID IDFactory.fromURL(URL source)
          Deprecated. Use of URLs for representing JXTA IDs and this method are deprecated. Convert to using IDFactory.fromURI( URI ) instead.
 ID IDFactory.Instantiator.fromURL(URL source)
          Deprecated. Convert to fromURI.
 ID IDFactory.Instantiator.fromURNNamespaceSpecificPart(String source)
          Construct a new ID instance from the scheme specific portion of a jxta URN.
protected  ID ID.intern()
          Returns a canonical representation for the ID object.
 

Uses of ID in net.jxta.peer
 

Subclasses of ID in net.jxta.peer
 class PeerID
          This class implements a PeerID.
 

Methods in net.jxta.peer that return ID
abstract  ID PeerID.getPeerGroupID()
          Returns PeerGroupID of the Peer Group to which this Peer ID belongs.
 

Uses of ID in net.jxta.peergroup
 

Subclasses of ID in net.jxta.peergroup
 class PeerGroupID
          This class implements a PeerGroup ID.
 

Methods in net.jxta.peergroup with parameters of type ID
 Iterator LightWeightPeerGroup.getRoleMap(ID name)
          Returns the map of the assigned IDs currently associated with the given ModuleClassID by this PeerGroup object.
 Iterator PeerGroup.getRoleMap(ID name)
          Returns the map of the assigned IDs currently associated with the given ModuleClassID by this PeerGroup object.
 void LightWeightPeerGroup.init(PeerGroup group, ID assignedID, Advertisement implAdv)
          Initialize the module, passing it its peer group and advertisement.
 Module LightWeightPeerGroup.loadModule(ID assignedID, Advertisement impl)
          Load a Module from a ModuleImplAdv.
 Module PeerGroup.loadModule(ID assignedID, Advertisement impl)
          Load a Module from a ModuleImplAdv.
 Module LightWeightPeerGroup.loadModule(ID assignedID, ModuleSpecID specID, int where)
          Load a module from a ModuleSpecID

Advertisement is sought, compatibility is checked on all candidates and load is attempted.

 Module PeerGroup.loadModule(ID assignedID, ModuleSpecID specID, int where)
          Load a module from a ModuleSpecID

Advertisement is sought, compatibility is checked on all candidates and load is attempted.

 Service LightWeightPeerGroup.lookupService(ID name)
          Lookup for a service by name.
 Service PeerGroup.lookupService(ID name)
          Lookup for a service by name.
 Service LightWeightPeerGroup.lookupService(ID name, int ignoredForNow)
          Lookup for a service by class ID and index in a map.
 Service PeerGroup.lookupService(ID name, int roleIndex)
          Lookup for a service by class ID and index in a map.
 

Constructors in net.jxta.peergroup with parameters of type ID
NetPeerGroupFactory(ConfigParams config, URI storeHome, ID id, String name, XMLElement desc)
          Deprecated. With the addition of support for PeerGroupConfigAdv this constructor is being deprecated as the precedence of settings is ambiguous.
NetPeerGroupFactory(PeerGroup parentGroup, ID id, String name, XMLElement desc)
          Deprecated. With the addition of support for PeerGroupConfigAdv this constructor is being deprecated as the precedence of settings is ambiguous.
NetPeerGroupFactory(PeerGroup parentGroup, ID id, String name, XMLElement desc, ModuleImplAdvertisement moduleImplAdv)
          Deprecated. With the addition of support for PeerGroupConfigAdv this constructor is being deprecated as the precedence of settings is ambiguous.
 

Uses of ID in net.jxta.pipe
 

Subclasses of ID in net.jxta.pipe
 class PipeID
          This class implements a Pipe ID.
 

Methods in net.jxta.pipe that return ID
abstract  ID PipeID.getPeerGroupID()
          Returns PeerGroupID of the Peer Group to which this Pipe ID belongs.
 ID OutputPipe.getPipeID()
          Gets the pipe id
 ID InputPipe.getPipeID()
          Gets the pipe id
 

Methods in net.jxta.pipe with parameters of type ID
 OutputPipeListener PipeService.removeOutputPipeListener(ID pipeID, OutputPipeListener listener)
          Remove an OutputPipeListener previously registered with createOuputputPipe.
 

Method parameters in net.jxta.pipe with type arguments of type ID
 OutputPipe PipeService.createOutputPipe(PipeAdvertisement pipeAdv, Set<? extends ID> resolvablePeers, long timeout)
          Attempt to create an OutputPipe using the specified Pipe Advertisement.
 void PipeService.createOutputPipe(PipeAdvertisement pipeAdv, Set<? extends ID> resolvablePeers, OutputPipeListener listener)
          Attempt to create an OutputPipe using the specified Pipe Advertisement.
 

Uses of ID in net.jxta.platform
 

Subclasses of ID in net.jxta.platform
 class ModuleClassID
          A ModuleClassID uniquely identifies a particular local behaviour, that is, a specific API for each execution environment for which an implementation exists.
 class ModuleSpecID
          A ModuleSpecID uniquely identifies a particular network behaviour (wire protocol and choregraphy) that may be embodied by a Jxta Module.
 

Methods in net.jxta.platform with parameters of type ID
 void Module.init(PeerGroup group, ID assignedID, Advertisement implAdv)
          Initialize the module, passing it its peer group and advertisement.
 void NetworkConfigurator.setInfrastructureID(ID id)
          Sets the ID which will be used for new net peer group instances.
 

Uses of ID in net.jxta.protocol
 

Methods in net.jxta.protocol that return ID
 ID ModuleSpecAdvertisement.getID()
          returns a unique id for that adv for the purpose of indexing.
 ID RouteAdvertisement.getID()
          Returns an ID which identifies this Advertisement as uniquely as possible.
 ID PipeAdvertisement.getID()
          Returns an ID which identifies this Advertisement as uniquely as possible.
 ID ModuleClassAdvertisement.getID()
          Returns an ID which identifies this Advertisement as uniquely as possible.
 ID PeerAdvertisement.getID()
          Returns a unique ID for that peer X group intersection.
 ID TransportAdvertisement.getID()
          Return ID for indexing.
 ID PeerGroupAdvertisement.getID()
          Returns a unique ID for indexing purposes.
 ID RdvAdvertisement.getID()
          Returns an ID which identifies this Advertisement as uniquely as possible.
 ID ModuleImplAdvertisement.getID()
          Returns the unique ID of that advertisement for indexing purposes.
 ID PipeAdvertisement.getPipeID()
          Return the pipe ID for the pipe described by this advertisement.
 ID PipeResolverMessage.getPipeID()
          Return the id of the pipe which is the subject of this message.
 ID ResolverQueryMsg.getSrcPeer()
          Returns the source of the query
 

Methods in net.jxta.protocol that return types with arguments of type ID
 Set<ID> PipeResolverMessage.getPeerIDs()
          Returns a Set (possibly empty) containing the peer ids which should respond to this query.
 Hashtable<ID,StructuredDocument> PeerAdvertisement.getServiceParams()
          Returns the sets of parameters for all services.
 Hashtable<ID,StructuredDocument> PeerGroupAdvertisement.getServiceParams()
          Returns the sets of parameters for all services.
 Set<Map.Entry<ID,StructuredDocument>> ConfigParams.getServiceParamsEntrySet()
          Deprecated. This method exposes the internal data structures of the advertisement and will be removed in order to prevent unexpected behaviour.
 

Methods in net.jxta.protocol with parameters of type ID
 void PipeResolverMessage.addPeerID(ID id)
          Add a peer to the set of peers to which this query is directed.
 StructuredDocument PeerAdvertisement.getServiceParam(ID key)
          Returns the parameter element that matches the given key from the service parameters table.
 StructuredDocument PeerGroupAdvertisement.getServiceParam(ID key)
          Returns the parameter element that matches the given key from the service parameters table.
 StructuredDocument ConfigParams.getServiceParam(ID key)
          Returns the parameter element that matches the given key from the service parameters table.
 Advertisement ConfigParams.getSvcConfigAdvertisement(ID key)
          Gets an advertisement from the service parameters table under the given key.
 boolean ConfigParams.isSvcEnabled(ID key)
          Gets an advertisement from the service parameters table under the given key.
 void PeerAdvertisement.putServiceParam(ID key, Element param)
          Puts a service parameter in the service parameters table under the given key.
 void PeerGroupAdvertisement.putServiceParam(ID key, Element param)
          Puts a service parameter in the service parameters table under the given key.
 void ConfigParams.putServiceParam(ID key, Element param)
          Puts a service parameter in the service parameters table under the given key.
 StructuredDocument PeerAdvertisement.removeServiceParam(ID key)
          Removes and returns the parameter element that matches the given key from the service parameters table.
 StructuredDocument PeerGroupAdvertisement.removeServiceParam(ID key)
          Removes and returns the parameter element that matches the given key from the service parameters table.
 StructuredDocument ConfigParams.removeServiceParam(ID key)
          Removes and returns the parameter element that matches the given key from the service parameters table.
 void ConfigParams.removeSvcConfigAdvertisement(ID key)
          Removes any parameters for the given key from the service parameters table.
 void PipeAdvertisement.setPipeID(ID pipeId)
          Set the pipe ID for the pipe described by this advertisement.
 void PipeResolverMessage.setPipeID(ID id)
          Set the id of pipe which is to be subject of this message.
 void ResolverQueryMsg.setSrcPeer(ID srcPeer)
          Set the source of the query
 void ConfigParams.setSvcConfigAdvertisement(ID key, Advertisement adv)
          Puts an advertisement into the service parameters table under the given key.
 void ConfigParams.setSvcConfigAdvertisement(ID key, Advertisement adv, boolean enabled)
          Puts an advertisement into the service parameters table under the given key.
 

Method parameters in net.jxta.protocol with type arguments of type ID
 void PeerAdvertisement.setServiceParams(Hashtable<ID,? extends Element> params)
          sets the sets of parameters for all services.
 void PeerGroupAdvertisement.setServiceParams(Hashtable<ID,? extends Element> params)
          sets the sets of parameters for all services.
 

Uses of ID in net.jxta.rendezvous
 

Methods in net.jxta.rendezvous that return ID
 ID RendezvousEvent.getPeerID()
          Returns peerid
 

Methods in net.jxta.rendezvous that return types with arguments of type ID
 Vector<ID> RendezVousService.getConnectedPeerIDs()
          Returns a Vector of the PeerID of the peers that are currently connected to this peer.
 Enumeration<ID> RendezVousService.getConnectedPeers()
          Returns an Enumeration of the PeerID of the peers that are currently connected to this peer.
 Enumeration<ID> RendezVousService.getConnectedRendezVous()
          Returns an Enumeration of the PeerID all the RendezVous on which this Peer is currently connected.
 Enumeration<ID> RendezVousService.getDisconnectedRendezVous()
          Deprecated. Due to design changes this no longer returns accurate nor complete results. It will eventually be removed.
 

Methods in net.jxta.rendezvous with parameters of type ID
 void RendezVousService.challengeRendezVous(ID peer, long timeout)
          Set a new deadline for the rendezvous to be proven alive.
 void RendezVousService.disconnectFromRendezVous(ID peerID)
          Disconnect from the specified rendezvous.
 

Method parameters in net.jxta.rendezvous with type arguments of type ID
 void RendezVousService.propagate(Enumeration<? extends ID> destPeerIds, Message msg, String serviceName, String serviceParam, int ttl)
          Propagates a message to the specified peers.
 void RendezVousService.walk(Vector<? extends ID> destPeerIDs, Message msg, String serviceName, String serviceParam, int ttl)
          

Walk a message through the rendezvous peers of the network: only rendezvous peers will receive the message.

 

Constructors in net.jxta.rendezvous with parameters of type ID
RendezvousEvent(Object source, int type, ID peer)
          Creates a new event
 

Uses of ID in net.jxta.util
 

Methods in net.jxta.util with parameters of type ID
static PipeAdvertisement AdvertisementUtilities.createPipeAdvertisement(ID pipeID, String pipeType)
          Deprecated. Create a Pipe Advertisement
 


JXSE