|
Project 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 |
InputPipe.getAdvertisement()
Gets the pipe advertisement |
PipeAdvertisement |
OutputPipe.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 adv,
Enumeration resolvablePeers,
long timeout)
Deprecated. Use PipeService.createOutputPipe(PipeAdvertisement, Set, long) instead. |
OutputPipe |
PipeService.createOutputPipe(PipeAdvertisement adv,
long timeout)
Attempt to ceate an OutputPipe using the specified Pipe Advertisement. |
void |
PipeService.createOutputPipe(PipeAdvertisement adv,
OutputPipeListener listener)
Attempt to ceate an OutputPipe using the specified Pipe Advertisement. |
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. |
OutputPipe |
PipeService.createOutputPipe(PipeAdvertisement adv,
Set resolvablePeers,
long timeout)
Attempt to ceate an OutputPipe using the specified Pipe Advertisement. |
void |
PipeService.createOutputPipe(PipeAdvertisement pipeAdv,
Set resolvablePeers,
OutputPipeListener listener)
Attempt to ceate an OutputPipe using the specified Pipe Advertisement. |
Uses of PipeAdvertisement in net.jxta.protocol |
---|
Methods in net.jxta.protocol that return PipeAdvertisement | |
---|---|
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.myPipeAdv
|
protected PipeAdvertisement |
JxtaServerSocket.pipeadv
|
protected PipeAdvertisement |
JxtaMulticastSocket.pipeAdv
|
protected PipeAdvertisement |
JxtaSocket.pipeAdv
|
Methods in net.jxta.socket that return PipeAdvertisement | |
---|---|
PipeAdvertisement |
JxtaServerSocket.getPipeAdv()
Gets the PipeAdvertisement associated with this JxtaServerSocket object |
protected static PipeAdvertisement |
JxtaServerSocket.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.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 pipeAd,
int timeout)
Connects to a remote JxtaSocket on a specific peer within a timeout specified in milliseconds |
void |
JxtaSocket.connect(PeerGroup group,
PipeAdvertisement pipeAd)
Connects to a remote JxtaSocket on any peer within the default timeout of 60 seconds |
void |
JxtaSocket.connect(PeerGroup group,
PipeAdvertisement pipeAd,
int timeout)
Connects to a remote JxtaSocket on any peer within a timeout specified in milliseconds |
protected Message |
JxtaSocket.createOpenMessage(PeerGroup group,
PipeAdvertisement pipeAd)
Create a connection request message |
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 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 |
JxtaServerSocket.newInputPipe(PeerGroup group,
PipeAdvertisement pipeadv)
Utility method newInputPipe is used to get new pipe advertisement (w/random pipe ID) from old one. |
protected void |
JxtaServerSocket.sendResponseMessage(PeerGroup group,
Messenger msgr,
PipeAdvertisement pipeAd)
Method sendResponseMessage get the createResponseMessage and sends it. |
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)
Constructor for the JxtaServerSocket The backlog defaults to 50. |
|
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 The timeout defaults to 0, i.e. blocking. |
|
JxtaSocket(PeerGroup group,
Messenger msgr,
PipeAdvertisement pipe,
StructuredDocument credDoc,
boolean isStream)
Constructor for the JxtaSocket, this constructor does not establish a connection use this constructor when altering the default parameters, and options of the socket by default connections are unreliable, and the default timeout is 60 seconds to alter a connection a call to create(true) changes the connection to a reliable one. |
|
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 |
|
JxtaSocket(PeerGroup group,
PipeAdvertisement pipeAd)
Create a JxtaSocket to any peer listening on pipeAdv |
|
JxtaSocket(PeerGroup group,
PipeAdvertisement pipeAd,
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 |
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 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 |
void |
JxtaBiDiPipe.connect(PeerGroup group,
PipeAdvertisement pipeAd)
Connect to JxtaBiDiPipe 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)
Create a connection request message |
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)
JxtaBiDiPipe A bidirectional pipe |
|
JxtaBiDiPipe(PeerGroup group,
PipeAdvertisement pipeAd,
int timeout,
PipeMsgListener listener)
attempts to create a bidirectional connection to remote peer within default timeout of 1 minutes, and initiates a connection |
|
JxtaBiDiPipe(PeerGroup group,
PipeAdvertisement pipeAd,
int timeout,
PipeMsgListener listener,
boolean reliable)
attempts to create a bidirectional connection to remote peer within default timeout of 60,000ms, and initiates a connection |
|
JxtaBiDiPipe(PeerGroup group,
PipeAdvertisement pipeAd,
PipeMsgListener listener)
attempts to create a bidirectional connection to remote peer within default timeout of 60,000ms, and initiates a connection |
|
JxtaServerPipe(PeerGroup group,
PipeAdvertisement pipeadv)
Default constructor for the JxtaServerPipe backlog default of 50 timeout defaults to 60 seconds, i.e. blocking. |
|
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 |
|
JXTA J2SE | |||||||||
PREV NEXT | FRAMES NO FRAMES |