|
JXTA | |||||||||
PREV NEXT | FRAMES NO FRAMES |
PeerID
to an ordered list of
EndpointAddress
entries.Throwable
.
List
of causes
.
#addDestEndpointAddresses(List)
instead.
AccessPointAdvertisement.addEndpointAddresses(List)
instead.
EndpointService.addIncomingMessageListener(net.jxta.endpoint.EndpointListener, java.lang.String, java.lang.String)
. It's better to just
register your listener with the Endpoint. This call may be
eventually removed.
Attributable
.
JxtaServerSocket
to a specific pipe advertisement
JxtaServerSocket
to a specific pipe advertisement
JxtaServerPipe
to a specific pipe advertisement
JxtaServerPipe
to a specific pipe advertisement
true
then we believer our end of the connection is open.
MessageElement.getByteLength()
operation.
MessageElement.getBytes(boolean)
operation.
TextMessageElement.getCharLength()
operation.
MessageElement.getBytes(boolean)
operation.
MessageElement.toString()
operation.
NetworkConfigurator.clearRendezvousSeedingURIs()
instead.
true
then this socket has been closed and can no longer be used.
NetworkConfigurator
.List
of all possible causes
that may be generated as a part of the
configuration process.JxtaException
with no specified details.
JxtaException
with the specified message.
JxtaException
with the specified cause
.
JxtaException
with the specified message and cause
.
JxtaException
with the specified List
of causes
.
JxtaException
with the specified message in
addition to the List
of causes
.
true
then we believe the remote peer currently has this socket open.
from
into the
the element intoElement
of document intoDoc
.
from
into the
document identified by intoDoc
.
from
into the
document identified by intoDoc
.
propagate()
or walk()
using the most
appropriate TTL value for the implementation and configuration.
EndpointListener.processIncomingMessage(Message,EndpointAddress,EndpointAddress)
method instead. The addressing method used by demux() was never part of
the formal JXTA protocol specification but was a defacto part because
demux() depended upon it.
true
then we are using a reliable direct messenger to the
remote peer.
DiscoveryEvent
s from the
Discovery Service.byte
array based interfaces for manipulating
Document
contents.ByteBuffer
based interfaces for manipulating
Document
contents.Document
contents.StructuredDocument
.MimeMediaType.equals(Object)
, but ignores any parameters.
Message
from matching the type
specified by the type
parameter.
IDFactory.fromURI( URI )
instead.
fromURI
.
Message
from matching the type
specified by the type
parameter.
ResolverService
.Document
as a sequence of ByteBuffers
Document
as a sequence of bytes.
causes
as a List
.
TextDocument
.
TextDocument
.
TextDocument
.
ModuleImplAdvertisement.getCompat()
that does not clone the elements.
NetworkConfigurator
for additional tuning
NetPeerGroupFactory
.
ModuleImplAdvertisement.getDesc()
that does not clone the elements.
Messenger.getDestinationAddress()
. This method will be
eventually removed.
Document
.
Document
.
Document
.
Document
.
Document
.
Document
.
Advertisement
as uniquely as
possible.
Advertisement
as uniquely as
possible.
Advertisement
as uniquely as
possible.
Advertisement
as uniquely as
possible.
Advertisement
as uniquely as
possible.
ListenerAdaptor
which emulates this functionality.
Messenger
for sending messages to the specified
destination EndpointAddress
.
Document
per
IETF RFC 2046 MIME : Media Types.
Document
per
IETF RFC 2046 MIME : Media Types.
Document
per
IETF RFC 2046 MIME : Media Types.
Document
per
IETF RFC 2046 MIME : Media Types.
Document
per
IETF RFC 2046 MIME : Media Types.
NetworkConfigurator.setMode(int)
.
JxtaSocket.getSendBufferSize()
method instead.
Attributable
which is the owner of this attribute.
ModuleImplAdvertisement.getParam()
that does not clone the elements.
ModuleSpecAdvertisement.getParam()
that does not clone the elements.
DiscoveryQueryMsg.getPeerAdvertisement()
.
Set
(possibly empty) containing the peer ids
which should respond to this query.
EndpointAddress
which will be used as the source
address for all messages sent by this message sender.
EndpointAddress
which will be used as the source
address for all messages sent by this message sender.
EndpointAddresses
by which this
MessageReceiver is reachable.
TextDocument
.
TextDocument
.
TextDocument
.
ResolverQueryMsg.getSrcPeer()
instead.
NetPeerGroupFactory
and/or WorldPeerGroupFactory
.
Document
.
Document
.
Document
.
Document
.
Document
.
Document
.
Document
.
true
, then a special tracking element is added to every
message.
PipeService
.InputStream
as the source for the
element data.true
if this messenger is closed and no longer
accepting messages to be sent.
true
if this messenger is closed and no longer
accepting messages to be sent.
true
if this pipe is closed and no longer
accepting messages to be sent.
true
if connected to a rendezvous.
true
if the Message Transport is connection oriented
(like TCP/IP).
true
if this credential is expired.
true
if this credential is expired.
Messenger.IDLE
state.
MembershipService.join(Authenticator)
.
true
then the socket is a stream socket otherwise it is a datagram socket.
true
then we are using the underlying end-to-end ACK reliable
layer to ensure that messages are received by the remote peer.
true
if this peer is acting as a rendezvous peer (per the
implementation definition) within the peer group.
Messenger.sendMessageB(net.jxta.endpoint.Message, java.lang.String, java.lang.String)
method is always blocking.
true
if this credential is currently valid.
true
if this credential is currently valid.
bind()
is needed to finish initializing this object.
group
and within the timeout specified in milliseconds
group
and within the timeout specified in milliseconds
IDFactory.fromURI( new URI(...) )
. This method was only
provided to overcome problems with registration of URL handlers in
foreign class loader environments (Servlets, Applets, JNLP, etc.).
Integer
which details the lineage (history
of cloning) that produced this message.
true
, then modification logging be activated.
LOG_MODIFICATIONS
is true
then this will contain
the history of modifications this message.
ModuleClassID
and may provide additional
descriptive metadata about the Module Class.ModuleImplAdvertisement
.Socket
over JXTA pipes.JXTA_HOME
system property or the
".jxta/
" directory if JXTA_HOME
is not defined.
PeerGroupConfigAdv
this constructor is being deprecated as the precedence of settings is
ambiguous.
PeerGroupConfigAdv
this constructor is being deprecated as the precedence of settings is
ambiguous.
PeerGroupConfigAdv
this constructor is being deprecated as the precedence of settings is
ambiguous.
Advertisement
matching the type
specified by the advertisementType
parameter.
XMLDocument
using StructuredDocumentFactory
and then call
AdvertisementFactory.newAdvertisement(XMLElement)
. For example :
XMLDocument xml = (XMLDocument) StructuredDocumentFactory.newStructuredDocument( MimeMediaType.XMLUTF8, is );or frequently:
XMLDocument xml = (XMLDocument) StructuredDocumentFactory.newStructuredDocument( msgElement );followed by:
Advertisement adv = AdvertisementFactory.newAdvertisement(xml);
XMLDocument
using StructuredDocumentFactory
and then call
AdvertisementFactory.newAdvertisement(XMLElement)
. For example :
XMLDocument xml = (XMLDocument) StructuredDocumentFactory.newStructuredDocument( MimeMediaType.XMLUTF8, reader );or frequently:
XMLDocument xml = (XMLDocument) StructuredDocumentFactory.newStructuredDocument( msgElement );followed by:
Advertisement adv = AdvertisementFactory.newAdvertisement(xml);
XMLElement
version.
Advertisement
matching the type
specified by the root
parameter.
Advertisement
matching the type
specified by the advertisementType
parameter.
Advertisement
matching the type
specified by the advertisementType
parameter.
NetPeerGroupFactory.NetPeerGroupFactory(PeerGroup,ID,String,XMLElement)
.
NetPeerGroupFactory.NetPeerGroupFactory()
or preferably one of the other NetPeerGroupFactory
constructors.
WorldPeerGroupFactory.WorldPeerGroupFactory()
.
StructuredDocument
matching
the mime-type specified by the mimetype
parameter.
StructuredDocument
matching
the mime-type specified by the mimetype
parameter.
StructuredDocument
matching
the mime-type specified by the mimetype
parameter.
StructuredDocument
matching
the mime-type specified by the mimetype
parameter.
StructuredDocument
based upon the
content of the provided message element.
JxtaSocket.isReliable
is false
.
JxtaSocket.isReliable
is false
.
itemChanged()
method.
PipeService
.OutputPipe
resolution events.WorldPeerGroupFactory
and NetPeerGroupFactory
. See the deprecations for the individual
methods for the specific replacements/alternatives provided by the new
factory classes.PeerInfoService
events.getMessenger()
is a better approach because the resulting Messenger is generally needed
soon after ping.
MessageSender.getMessenger(net.jxta.endpoint.EndpointAddress, java.lang.Object)
. If you want to determine
the reachability of a destination, get a Messenger to the destination.
PipeMsgEvent
events.len
bytes of data from this input stream
into an array of bytes.
true
if there is a registered peergroup of the
specified ID.
null
if we are
willing to connect to any peer.
RouteAdvertisement.removeDestEndpointAddresses(Collection)
.
getRemoteAdvertisements()
or addDiscoveryListener()
.
PipeService.removeOutputPipeListener(ID,OutputPipeListener)
.
createOuputputPipe
.
EndpointService.removeIncomingMessageListener(java.lang.String, java.lang.String)
.
It's better to just deregister your listener with the Endpoint. This call
may be eventually removed.
MessageElement
in the message.
MessageElement
in the message using the specified
namespace.
mark
method was last called on this input stream.
join()
operations.
JxtaSocket.isReliable
is true
.
JxtaSocket.isReliable
is true
.
OutputPipe.send(Message)
call is
made.
sendMessage(msg, null, null)
sendMessage(msg, null, null)
Messenger
Messenger.USABLE
; whichever occurs
first.
Messenger.USABLE
; whichever occurs
first.
Messenger.USABLE
; whichever occurs
first.
Document
to the specified stream.
Document
to the specified stream.
Document
to the specified stream.
Document
to the specified stream.
Document
to the specified stream.
Document
to the specified stream.
Document
to the specified stream.
Document
to the specified stream.
TextDocument
to the specified
Writer.
TextDocument
to the specified
Writer.
TextDocument
to the specified
Writer.
TextDocument
to the specified
Writer.
NetPeerGroupFactory
and/or WorldPeerGroupFactory
.
RouteAdvertisement.addDestEndpointAddress(EndpointAddress)
instead.
AcccessPointAdvertisement
.
//Create an application home
File appHome = new File(System.getProperty("JXTA_HOME", ".cache"));
//Create an instance home under the application home
File instanceHome = new File(appHome, instanceName);
jxtaConfig.setHome(instanceHome);
NetPeerGroupFactory.NetPeerGroupFactory(ConfigParams,URI,ID,String,XMLElement)
or NetPeerGroupFactory.NetPeerGroupFactory(PeerGroup,ID,String,XMLElement)
.
NetPeerGroupFactory.NetPeerGroupFactory(ConfigParams,URI,ID,String,XMLElement)
or NetPeerGroupFactory.NetPeerGroupFactory(PeerGroup,ID,String,XMLElement)
.
NetPeerGroupFactory.NetPeerGroupFactory(ConfigParams,URI,ID,String,XMLElement)
or NetPeerGroupFactory.NetPeerGroupFactory(PeerGroup,ID,String,XMLElement)
.
JxtaSocket.setSendBufferSize(int)
method instead.
WorldPeerGroupFactory.WorldPeerGroupFactory(Class,ConfigParams,URI)
.
#setRendezvousSeedingURIs()
instead.
ResolverQueryMsg.setSrcPeer(ID)
instead.
NetPeerGroupFactory
and/or WorldPeerGroupFactory
.
n
bytes of data from the
input stream.
PeerGroup
services) so that their
startApp()
method may be invoked multiple times.
PeerGroup
services) so that their startApp
method may be invoked multiple times.
startApp()
completed successfully.
Document
which allows the content of a document to be
specified by a hierarchy of elements.StructuredDocument
.StructuredDocument
to provide accessors appropriate for text
based documents.Document
for text documents.char
array based interfaces for manipulating
TextDocument
s.Reader
/Writer
based interfaces for manipulating
TextDocument
s.Reader
/Writer
based interfaces for manipulating
TextDocument
s.Reader
/Writer
based interfaces for manipulating
TextDocument
s.Element
to provide String
oriented
accessors for instances of StructuredTextDocument
WireFormatMessage
matching the type
specified by the type
parameter.
JXTA_HOME
system property or the ".jxta/
"
directory if JXTA_HOME
is not defined.
StructuredTextDocument
which are implemented by XML Documents.
|
JXSE | |||||||||
PREV NEXT | FRAMES NO FRAMES |