|
JXTA | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PipeAdvertisement | |
---|---|
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.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 PipeAdvertisement in net.jxta.pipe |
---|
Methods in net.jxta.pipe that return PipeAdvertisement | |
---|---|
PipeAdvertisement |
OutputPipe.getAdvertisement()
Gets the pipe advertisement |
PipeAdvertisement |
InputPipe.getAdvertisement()
Gets the pipe advertisement |
Methods in net.jxta.pipe with parameters of type PipeAdvertisement | |
---|---|
InputPipe |
PipeService.createInputPipe(PipeAdvertisement adv)
Create an InputPipe from a pipe Advertisement |
InputPipe |
PipeService.createInputPipe(PipeAdvertisement adv,
PipeMsgListener listener)
Create an InputPipe from a pipe Advertisement |
OutputPipe |
PipeService.createOutputPipe(PipeAdvertisement pipeAdv,
long timeout)
Attempt to create an OutputPipe using the specified Pipe Advertisement. |
void |
PipeService.createOutputPipe(PipeAdvertisement pipeAdv,
OutputPipeListener listener)
Attempt to create an OutputPipe using the specified Pipe Advertisement. |
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 PipeAdvertisement in net.jxta.protocol |
---|
Methods in net.jxta.protocol that return PipeAdvertisement | |
---|---|
PipeAdvertisement |
PipeAdvertisement.clone()
|
PipeAdvertisement |
ModuleSpecAdvertisement.getPipeAdvertisement()
returns the embedded pipe advertisement if any. |
Methods in net.jxta.protocol with parameters of type PipeAdvertisement | |
---|---|
void |
ModuleSpecAdvertisement.setPipeAdvertisement(PipeAdvertisement pipeAdv)
sets an embedded pipe advertisement. |
Uses of PipeAdvertisement in net.jxta.socket |
---|
Fields in net.jxta.socket declared as PipeAdvertisement | |
---|---|
protected PipeAdvertisement |
JxtaSocket.localEphemeralPipeAdv
Pipe Advertisement of local ephemeral pipe. |
protected PipeAdvertisement |
JxtaSocket.pipeAdv
Pipe Advertisement of the well known pipe. |
protected PipeAdvertisement |
JxtaMulticastSocket.pipeAdv
|
protected PipeAdvertisement |
JxtaServerSocket.pipeAdv
The pipe advertisement we are serving. |
protected PipeAdvertisement |
JxtaSocket.remoteEphemeralPipeAdv
Pipe Advertisement of it's ephemeral pipe. |
Methods in net.jxta.socket that return PipeAdvertisement | |
---|---|
PipeAdvertisement |
JxtaSocketAddress.getPipeAdv()
Returns the PipeAdvertisement element of the address |
PipeAdvertisement |
JxtaServerSocket.getPipeAdv()
Gets the PipeAdvertisement associated with this JxtaServerSocket object |
protected static PipeAdvertisement |
JxtaSocket.newEphemeralPipeAdv(PipeAdvertisement pipeAdv)
Create a pipe advertisement for an ephemeral pipe (w/random pipe ID) from an existing pipe advertisement. |
Methods in net.jxta.socket with parameters of type PipeAdvertisement | |
---|---|
void |
JxtaServerSocket.bind(PeerGroup group,
PipeAdvertisement pipeAdv)
Binds the JxtaServerSocket to a specific pipe advertisement |
void |
JxtaServerSocket.bind(PeerGroup group,
PipeAdvertisement pipeadv,
int backlog)
Binds the JxtaServerSocket to a specific pipe advertisement |
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 |
void |
JxtaSocket.connect(PeerGroup group,
PipeAdvertisement pipeAdv)
Connects to a JxtaServerSocket on any peer within the default timeout of 60 seconds |
void |
JxtaSocket.connect(PeerGroup group,
PipeAdvertisement pipeAdv,
int timeout)
Connects to a JxtaServerSocket on any peer within a timeout specified in milliseconds |
protected Message |
JxtaSocket.createConnectMessage(PeerGroup group,
PipeAdvertisement pipeAdv,
Credential credential,
boolean isReliable,
boolean initiator)
Create a connection request/response message |
protected JxtaSocket |
JxtaServerSocket.createEphemeralSocket(PeerGroup group,
PipeAdvertisement pipeAdv,
PipeAdvertisement remoteEphemeralPipeAdv,
PeerAdvertisement remotePeerAdv,
Credential localCredential,
Credential credential,
boolean isReliable)
Construct the emphemeral socket result from accept. |
void |
JxtaMulticastSocket.joinGroup(PeerGroup group,
PipeAdvertisement pipeAd)
joins MutlicastSocket to specified pipe within the context of group |
protected static Messenger |
JxtaSocket.lightweightOutputPipe(PeerGroup group,
PipeAdvertisement pipeAdv,
PeerAdvertisement peerAdv)
A lightweight output pipe constructor, note the return type Since all the info needed is available, there's no need for to use the pipe service to resolve the pipe we have all we need to construct a messenger. |
protected static PipeAdvertisement |
JxtaSocket.newEphemeralPipeAdv(PipeAdvertisement pipeAdv)
Create a pipe advertisement for an ephemeral pipe (w/random pipe ID) from an existing pipe advertisement. |
Constructors in net.jxta.socket with parameters of type PipeAdvertisement | |
---|---|
JxtaMulticastSocket(PeerGroup group,
PipeAdvertisement pipeAd)
Create a multicast socket and bind it to a specific pipe within specified peer group |
|
JxtaServerSocket(PeerGroup group,
PipeAdvertisement pipeAdv)
Constructs and binds a JxtaServerSocket to the specified pipe. |
|
JxtaServerSocket(PeerGroup group,
PipeAdvertisement pipeAdv,
int backlog)
Constructor for the JxtaServerSocket object |
|
JxtaServerSocket(PeerGroup group,
PipeAdvertisement pipeAdv,
int backlog,
int timeout)
Constructor for the JxtaServerSocket object. |
|
JxtaServerSocket(PeerGroup group,
PipeAdvertisement pipeAdv,
int backlog,
int timeout,
CredentialValidator credValidator)
Constructor for the JxtaServerSocket object. |
|
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 |
|
JxtaSocket(PeerGroup group,
PipeAdvertisement pipeAdv)
Create a JxtaSocket to any node listening on pipeAdv |
|
JxtaSocket(PeerGroup group,
PipeAdvertisement pipeAdv,
int timeout)
Create a JxtaSocket to any peer listening on pipeAdv this attempts establish a connection to specified pipe within the context of the specified group within timeout specified in milliseconds. |
|
JxtaSocket(PeerGroup group,
PipeAdvertisement pipeAdv,
PipeAdvertisement remoteEphemeralPipeAdv,
PeerAdvertisement remotePeerAdv,
Credential localCredential,
Credential remoteCredential,
boolean isReliable)
This constructor is used by JxtaServer socket for creating JxtaSocket instances in response to incoming connections. |
|
JxtaSocketAddress(PeerGroupID peerGroupId,
PipeAdvertisement pipeAdv)
Deprecated. use the PeerAdvertisement variant instead |
|
JxtaSocketAddress(PeerGroupID peerGroupId,
PipeAdvertisement pipeAdv,
PeerID peerId)
Deprecated. use the PeerAdvertisement variant instead |
|
JxtaSocketAddress(PeerGroup peerGroup,
PipeAdvertisement pipeAdv)
Creates a new instance of JxtaSocketAddress. |
|
JxtaSocketAddress(PeerGroup peerGroup,
PipeAdvertisement pipeAdv,
PeerAdvertisement peerAdv)
Creates a new instance of JxtaSocketAddress. |
|
JxtaSocketAddress(PeerGroup peerGroup,
PipeAdvertisement pipeAdv,
PeerID peerId)
Deprecated. use the PeerAdvertisement variant instead |
Uses of PipeAdvertisement in net.jxta.util |
---|
Fields in net.jxta.util declared as PipeAdvertisement | |
---|---|
protected PipeAdvertisement |
JxtaBiDiPipe.myPipeAdv
|
protected PipeAdvertisement |
JxtaBiDiPipe.pipeAdv
|
Methods in net.jxta.util that return PipeAdvertisement | |
---|---|
static PipeAdvertisement |
PipeUtilities.createNewPipeAdvertisement(PeerGroup peerGroup,
String pipeType)
|
static PipeAdvertisement |
AdvertisementUtilities.createPipeAdvertisement()
Deprecated. Create a Pipe Advertisement |
static PipeAdvertisement |
PipeUtilities.createPipeAdvertisement()
|
static PipeAdvertisement |
AdvertisementUtilities.createPipeAdvertisement(Element root)
Deprecated. Create a Pipe Advertisement |
static PipeAdvertisement |
PipeUtilities.createPipeAdvertisement(Element root)
|
static PipeAdvertisement |
AdvertisementUtilities.createPipeAdvertisement(ID pipeID,
String pipeType)
Deprecated. Create a Pipe Advertisement |
static PipeAdvertisement |
AdvertisementUtilities.createPipeAdvertisement(PeerGroup peerGroup,
String pipeType)
Deprecated. Create a Pipe Advertisement |
static PipeAdvertisement |
AdvertisementUtilities.createPipeAdvertisement(PeerGroup peerGroup,
String sPipeID,
String pipeType,
String name)
Deprecated. Create a Pipe Advertisement |
static PipeAdvertisement |
AdvertisementUtilities.createPipeAdvertisement(PipeID pipeId,
String pipeType)
Deprecated. Create a Pipe Advertisement |
static PipeAdvertisement |
PipeUtilities.createPipeAdvertisement(PipeID pipeId,
String pipeType)
|
static PipeAdvertisement |
AdvertisementUtilities.createPipeAdvertisement(String pipeIdText,
String pipeType)
Deprecated. Create a Pipe Advertisement |
static PipeAdvertisement |
PipeUtilities.createPipeAdvertisement(String pipeIdText,
String pipeType)
|
PipeAdvertisement |
JxtaServerPipe.getPipeAdv()
Gets the PipeAdvertisement associated with this JxtaServerPipe |
PipeAdvertisement |
JxtaBiDiPipe.getPipeAdvertisement()
Returns the Assigned PipeAdvertisement |
static PipeAdvertisement |
AdvertisementUtilities.getPipeAdvertisement(Element root)
Deprecated. These utilities are too specialized for general use. |
PipeAdvertisement |
JxtaBiDiPipe.getRemotePipeAdvertisement()
Returns remote PipeAdvertisement |
protected static PipeAdvertisement |
JxtaServerPipe.newInputPipe(PeerGroup group,
PipeAdvertisement pipeadv)
Utility method newInputPipe is used to get new pipe advertisement (w/random pipe ID) from old one. |
Methods in net.jxta.util with parameters of type PipeAdvertisement | |
---|---|
void |
JxtaServerPipe.bind(PeerGroup group,
PipeAdvertisement pipeadv)
Binds the JxtaServerPipe to a specific pipe advertisement |
void |
JxtaServerPipe.bind(PeerGroup group,
PipeAdvertisement pipeadv,
int backlog)
Binds the JxtaServerPipe to a specific pipe advertisement |
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 |
void |
JxtaBiDiPipe.connect(PeerGroup group,
PipeAdvertisement pipeAd)
Connect to a JxtaServerPipe with default timeout |
void |
JxtaBiDiPipe.connect(PeerGroup group,
PipeAdvertisement pipeAd,
int timeout)
Connects to a remote JxtaBiDiPipe |
protected Message |
JxtaBiDiPipe.createOpenMessage(PeerGroup group,
PipeAdvertisement pipeAd)
Creates a connection request message |
protected static Messenger |
JxtaBiDiPipe.getDirectMessenger(PeerGroup group,
PipeAdvertisement pipeAdv,
PeerAdvertisement peer)
A lightweight direct messenger output pipe constructor, note the return type Since all the info needed is available, there's no need for to use the pipe service to resolve the pipe we have all we need to construct a messenger. |
protected static Messenger |
JxtaBiDiPipe.lightweightOutputPipe(PeerGroup group,
PipeAdvertisement pipeAdv,
PeerAdvertisement peer)
A lightweight output pipe constructor, note the return type Since all the info needed is available, there's no need for to use the pipe service to resolve the pipe we have all we need to construct a messenger. |
protected static PipeAdvertisement |
JxtaServerPipe.newInputPipe(PeerGroup group,
PipeAdvertisement pipeadv)
Utility method newInputPipe is used to get new pipe advertisement (w/random pipe ID) from old one. |
protected void |
JxtaServerPipe.sendResponseMessage(PeerGroup group,
Messenger msgr,
PipeAdvertisement pipeAd)
Method sendResponseMessage get the createResponseMessage and sends it. |
protected void |
JxtaBiDiPipe.setRemotePipeAdvertisement(PipeAdvertisement pipe)
Sets the remote PipeAdvertisement |
Constructors in net.jxta.util with parameters of type PipeAdvertisement | |
---|---|
JxtaBiDiPipe(PeerGroup group,
Messenger msgr,
PipeAdvertisement pipe,
StructuredDocument credDoc,
boolean isReliable,
boolean direct)
Creates a bidirectional pipe |
|
JxtaBiDiPipe(PeerGroup group,
PipeAdvertisement pipeAd,
int timeout,
PipeMsgListener msgListener)
Creates a bidirectional pipe. |
|
JxtaBiDiPipe(PeerGroup group,
PipeAdvertisement pipeAd,
int timeout,
PipeMsgListener msgListener,
boolean reliable)
attempts to create a bidirectional connection to remote peer |
|
JxtaBiDiPipe(PeerGroup group,
PipeAdvertisement pipeAd,
PipeMsgListener msgListener)
Creates a bidirectional pipe. |
|
JxtaServerPipe(PeerGroup group,
PipeAdvertisement pipeadv)
Default constructor for the JxtaServerPipe backlog default of 50 call to accept() for this ServerPipe will block for only this amount of time. |
|
JxtaServerPipe(PeerGroup group,
PipeAdvertisement pipeadv,
int backlog)
Constructor for the JxtaServerPipe object |
|
JxtaServerPipe(PeerGroup group,
PipeAdvertisement pipeadv,
int backlog,
int timeout)
Constructor for the JxtaServerPipe |
|
JXSE | |||||||||
PREV NEXT | FRAMES NO FRAMES |