Maximum length of the queue on incoming connect requests.
Returns the context registered under jid
in the target context.
The bind operation returns an object giving access to the object interface
referenced by the target identifier.
Returns a local session representing the session designated by the provided
lower session interface.
Binds a new consumer to an event channel
BindException is a checked exception that indicates that an error occurred
when trying to bind an interface.
Constructs a new BindException with no detail message.
Builds a BindException that wraps another exception.
Builds a BindException with a detail message.
Returns the number of bytes read since the beginning.
Chunk - class org.objectweb.jonathan.resources.api.
Chunk A chunk represents a part of an array of bytes.
Constructs a new chunk with the specified data and offsets.
A chunk factory builds chunks, possibly implementing a specific chunk
management policy.
Chunk providers are used to wrap input streams (like, e.g., socket input streams)
in unmarshallers.
Closes the chunk provider.
This method causes the message to lose all its references to the underlying
chunks, and
release
each
of them.
Closes the session, letting the associated resources be released or
reused.
Closes the session, letting the associated resources be released or
reused.
Tells the factory to release the server socket.
Closes the target unmarshaller, releasing all underlying resources
(including a possible chunk provider).
CommunicationException is a checked exception that indicates that an error
occurred when trying to communicate with a remote object interface.
Constructs a new CommunicationException with no detail message.
Builds a CommunicationException that wraps another exception.
Builds a CommunicationException with a detail message.
Implementation of TcpIpConnection.
Copies the contents of a message into an array of bytes.
Creates a new protocol graph with a number of given sub
protocol graphs.
Creates a new ProtocolGraph
Creates a new session identifier with the provided info
data - field in class org.objectweb.jonathan.resources.api.
Chunk The associated array of bytes.
Decode an indentifier (an EId) representing an event channel out of the
supplied array of bytes
Decodes an identifier from a buffer portion.
Decodes an identifier from a buffer portion.
Decodes an identifier from a buffer portion.
Decodes an identifier from a buffer portion.
Decodes an identifier from the provided unmarshaller.
Decodes an identifier from the provided unmarshaller.
Decodes an identifier from the provided unmarshaller.
Decodes an identifier from the provided unmarshaller.
Initialize a RTP header from an input message
Decodes an identifier from the provided unmarshaller.
Deletes this connection, removing it from the connection manager, and
closing the socket.
Deletes this connection, removing it from the connection manager, and
closing the socket.
Duplicates the whole chunk.
Duplicates the whole chunk.
Partially duplicates this chunk.
Partially duplicates this chunk.
EBinder is a binder allowing the construction of Event Channels
following a publish-subscribe interaction style.
Builds a new EBinder instance
EId is an indentifier representing an event channel of a given type and
relying on a given multicast address and port.
Builds a new EId representing an event channel by decoding the
information supplied in a byte array
Builds a new EId representing an event channel by decoding the
information supplied in an unmarshaller.
Builds a new EId representing an event channel of a given type relying
on a given multicast address and port
Encodes the target identifier in an array of bytes.
Marshalls the RTP header into an output message
Encodes the target identifier in a marshaller.
EndOfMessageException is a checked exception that indicates that the end of
the message on which some operation is performed has been reached.
Constructs a new EndOfMessageException with no detail message.
Builds a EndOfMessageException that wraps another exception.
Builds a EndOfMessageException with a detail message.
Causes a job
"escaped"
from the scheduler to be re-admitted
in the set of jobs managed by the target scheduler.
Causes a job
"escaped"
from the scheduler to be re-admitted
in the set of jobs managed by the target scheduler.
Compares this object to the specified object.
Causes the calling job to be removed from the set of jobs managed by the
target scheduler.
Causes the calling job to be removed from the set of jobs managed by the
target scheduler.
This operation has no meaning in this context: an InternalException is
always thrown.
Creates a new identifier for the object interface designated by the
id parameter.
Exports the provided implementation to the target adapter, and then
recursively to the naming context in the context.
Creates a new identifier for the object interface designated by the
itf parameter.
Exports the provided implementation to the target adapter, and then
recursively to the naming context in the context.
Exports the provided implementation to the target adapter, and then
recursively to the provided naming context.
Exports the provided implementation to the target adapter, and then
recursively to the provided naming context.
Registers the provided context
under jid
in the
target context.
Exports a session using the graph represented by the target object.
ExportException is a checked exception that an interface could not be
exported for some reason.
Constructs a new ExportException with no detail message.
Builds a ExportException that wraps another exception.
Builds an ExportException with a detail message.
Returns the canonical host name corresponding to hostname.
Returns the canonical host name of the provided host.
Returns the canonical host name of the provided host.
Returns the naming context associated with the target identifier.
Returns a context associated with the target Job.
Returns a Context
associated with this marshaller.
Returns a Context
associated with this unmarshaller.
Returns the currently executing job (the job performing the call).
Returns the currently executing job (the job performing the call).
Returns the Higher Level Session associated with the target session, i.e.,
the session to which the data read from the Tcp/Ip connection will be sent.
Returns the host name of the underlying socket.
Returns the host name of the underlying socket.
Returns the host name of the encapsulated socket.
Returns the set of identifiers associated with the target reference.
Yield info about this session, as a Context.
Returns the MulticastIpProtocol MTU (maximum transmition unit).
Returns the current offset in the message, i.e., the position in the message
at which the next byte will be written.
Returns the port number of the underlying socket.
Returns the port number of the underlying socket.
Returns the local port of the encapsulated socket.
Get the protocol id of this node
Returns the protocol that created this session identifier.
Returns a session identifier for the event channel represented by this EId
What kind of protocol does this session identifier relate to?
Returns the session attached to this connection.
Returns the session attached to this connection.
Returns the "best" Session_High in the Policy's list at the
time of the asking.
Returns a session identifier for the event channel represented by this EId
Returns the state of the message as a (chain of) chunk(s).
Returns the target object represented by this request session.
Get the url of this connection
Returns a hash code value for this IpSessionIdentifier.
Hostname of this session identifier.
Defines a protocol for GIOP over HTTP.
Represents a server-side connection via HTTP.
A factory to manage servlets on this side of the OSGi bundle
frontier.
The superclass of all HTTP session identifiers.
Constructs a new empty HttpSessionIdentifier
Constructs a new HttpSessionIdentifier with the specified URL
An identifier uniquely identifies an applicative object interface in a given
naming context
.
Initial size of the object table.
Returns an input stream to read data from the unmarshaller.
our proprietary payload constant
A IpConnection represents a communication resource.
Constructs a new empty IpSessionIdentifier.
Constructs a new IpSessionIdentifier with the specified host name and port
number.
Implementation of an IP V4 connection factory.
Returns a new IPv4ConnectionFactory with default parameters
Returns a new IPv4 connection factory
Returns true if the target protocol is an invocation protocol.
Returns true if the target protocol is an invocation protocol.
Returns false: TcpIpProtocol cannot deal with invocations.
Returns true if this marshaller is little-endian, false otherwise.
Returns true if this unmarshaller is little-endian, false otherwise.
Return true if the target identifier corresponds to a local
connection
Returns true if the provided session identifier corresponds to a local
connection managed by this protocol.
Tests the validity of the target identifier.
A Chunk Factory implementation.
Returns a new chunk factory
Returns a new chunk factory
Default implementation of a connection manager and factory.
Returns a new connection manager
Default domain
implementation.
Builds a new JDomain instance.
Job - interface org.objectweb.jonathan.resources.api.
Job A Job is the abstraction of an activity in the system.
Prints the current Jeremie release number.
MarshalException is a checked exception that indicates that an error occured
when marshalling data.
Constructs a new MarshalException with no detail message.
Builds a MarshalException that wraps another exception.
Builds a MarshalException with a detail message.
Marshaller is the type of basic types marshallers.
a marshaller factory is a factory for marshallers and unmarshallers (...)
Maximum number of idle connections kept by this manager.
This class contains some methods to deal with messages (marshallers).
MinimalAdapter is a class of simple object adapters, simply maintaining
a table of Java objects.
Constucts a new MinimalAdapter.
The MulticastIpProtocol class is a protocol class encapsulating the
IP Multicast protocol.
Build a new MulticastIpProtocol
This interface is the contract passed between a multiplexing policy
module and the multiplexing layer.
Classes implementing this interface are able to provide a Multiplex
Protocol with a MultiplexingPolicy in order for the protocol's
Session_High interface to be able to pick a lower level
Session_High to send the message.
Simple protocol relaying messages between other protocol
layers.
NamingContext
is a specific sort of
naming context
used to
create and manage names of type
Identifier
.
Returns a chunk of a default (small) size.
Returns a chunk of a default size.
Returns a chunk whose associated array of bytes is (at least) of size
size.
Returns a chunk of (at least) the specified size.
Returns a chunk of (at least) the specified size.
Builds a new client-side connection encapsulating the provided connection.
Builds a new client-side connection with the provided parameters.
Returns a new client connection.
Returns a new client connection.
Returns the effective bootstrap configuration.
Returns the effective bootstrap configuration.
Builds a new identifier representing an event channel of a given type
and relying on a givent multicast address and port
Returns a new job created by the scheduler.
Returns a new job created by the scheduler.
Returns a new marshaller.
Creates a new MultiplexingPolicy instance.
Creates a new MultiplexingPolicy instance.
Creates a new MultiplexingPolicy instance.
Creates a new ProtocolGraph dealing with HTTP
Builds a new RTP ProtocolGraph
Creates a new ProtocolGraph dealing with HTTP
Builds a new Protocol graph associated with an (IP multicast address,
port) pair
Create a new servlet awaiting connections.
Builds a new RTP SessionIdentifier
Creates a new session identifier
Builds a new SessionIdentifier associated with an (IP multicast address,
port) pair
Creates a new TcpIpSessionIdentifier.
Creates a new session identifier
Returns a new connection for the provided session, obtained from the
encapuslated server socket.
Builds a new server-side connection with the provided parameters.
Returns a new server connection factory encapsulating a server socket on the
provided port.
Returns a new server connection factory encapsulating a server socket on the
provided port.
Returns a new server connection factory encapsulating a server socket on the
provided port.
Returns a new unmarshaller, using the provided chunk(s) as a data source.
Returns a new unmarshaller, using the provided chunk provider as a data
source.
next - field in class org.objectweb.jonathan.resources.api.
Chunk The next chunk in the chain
Returns an empty array: this is a leaf protocol really.
Return an empty array: this is a leaf protocol in the protocol
tree.
Return the session identifiers corresponding to the lower level
protocol layers, if any
Unblocks a job
waiting
on the lock.
Unblocks a job
waiting
on the lock.
Unblocks all jobs
waiting
on the lock.
Unblocks all jobs
waiting
on the lock.
offset - field in class org.objectweb.jonathan.resources.api.
Chunk The index of the first valid (written) byte in this chunk.
Provides a set of classes and interfaces for application level identifiers,
naming contexts and binders.
Provides the default domain implementation.
Provides an implementation of an event channel service relying on RTP on top
of IP multicast.
Provides classes implementing a minimal object adapter.
Provides classes implementing an adaptor for a single object.
Provides some helper classes.
Provides abstractions used to configure a virtual machine using Jonathan's
configuration framework.
Provides a set of classes and interfaces for presentation protocols
(marshallers and unmarshallers).
Provides a set of classes and interfaces for communication protocols.
A set of classes and interfaces specializing the binding abstractions
to the HTTP protocol, and abstracting connection management.
Provides a set of classes and interfaces refining the binding abstractions in
the case of IP protocols, and introduces some connection management abstractions.
Provides a default implementation for TCP/IP connection management.
Provides an encapsulation of the IP multicast protocol
Provides an implementation of the RTP protocol.
Provides a set of classes giving access to the TCP/IP protocol stack.
Provides a set of classes and interfaces dealing with resource
management.
Provides implementations for various resources and managers.
Provides an interface for stub factories.
Returns an output stream to write into the message.
Port number of this session identifier.
Returns a chunk to read data from.
Lets the target session write its own headers into the provided message
(one-way case).
Lets the target session write its own headers into a newly created message
and returns it (exception case)
An entity wishing to send a message as a reply to an invocation must not
create a marshaller on its own and directly
send
it down the protocol stack.
Lets the target session write its own headers into a newly created message
and returns it (location forward case)
An entity wishing to send a message as a reply to an invocation must not
create a marshaller on its own and directly
send
it down the protocol stack.
Lets the target session write its own headers into a newly created message
and returns it (standard reply case)
An entity wishing to send a message as a reply to an invocation must not
create a marshaller on its own and directly
send
it down the protocol stack.
Lets the target session write its own headers into a newly created message
and returns it (system exception case)
An entity wishing to send a message as a reply to an invocation must not
create a marshaller on its own and directly
send
it down the protocol stack.
The protocol abstraction represents protocols like TCP, IP or
GIOP.
Simply, a list of the protocol identifiers used in the exotic
protocol graph thingy.
Tree-like structure to hold the protocol stack info at
configuration time.
Create a leaf ProtocolInfo node
Create a non-leaf ProtocolInfo node
Naive implementation of a multiplexing policy.
Reads a reference to an object.
Reads a string composed of 16 bits chars.
Reads a string composed of 8 bits chars.
Another reference for the targeted object interface.
Indicates the current Jonathan release number.
release() - method in class org.objectweb.jonathan.resources.api.
Chunk Releases the chunk.
Releases this connection.
Releases this connection.
A ReplyInterface holds the reply to a request.
A reply session is used by a server to send a reply back to a client.
Request sessions represent the recipient of an invocation for an invocation
protocol.
This method causes the message to lose all its references to the underlying
chunks, without
releasing
them.
Returns the next name in the referencing chain.
the version of RTP supported
RTPHeader is a utility class representing a RTP header
Build a new uninitialized RTP header
Build a new RTP header from an input message
RTPProtocol is a partial implementation of the RTP protocol.
Builds a new RTPProtocol instance
Tells the target job to execute the code manifested by the message
argument.
Checks if the target marshaller and the provided one have the same contents,
i.e., they contain the same bits.
Schedulers are used to create and schedule Jobs.
Method called by the lower layer whenever a message arrives.
Sends an exception up a protocol stack.
Send a message to the distant peer.
Sends the reply down the protocol stack.
Sends the message down the protocol stack.
Sends a message (a request) to its recipient.
Sends a message up a protocol stack.
the sequence number of the RTP packet
This interface is akin to a Session_Low in that implementations are
used by lower layers of the HTTP Protocol to communicate with
higher level layers of same protocol.
ServerException is a checked exception encapsulating an applicative exception
raised by a remote object.
Constructs a new ServerException with an unmarshaller encoding the
exception raised by the remote object.
Session_High
is the type of sessions used to send messages down
to the network; A
Session_High
is usually a surrogate for
a session of type
Session_Low
exported to a protocol and
represented by an
session identifier
.
Session_Low
is the type of sessions used to forward messages
coming from the network to their actual recipient;
Session_Low
is
also the type of interfaces represented by
session
identifiers
.
A session identifier represents an exported session.
Sets the byte order (returned by
isLittleEndian
) of
the target unmarshaller
Associate a callback service (defined in the Direct Proxy
bundle) to the connection.
Set the hints that may help things to happen smoothly
(e.g.
Sets the set of identifiers associated with the target reference.
Sets the offset in the message.
Attaches a new session to this connection.
Attaches a new session to this connection.
Sets the number of bytes readable from the unmarshaller.
Used to set the verbiage level.
A naive Chunk Factory implementation : it simply returns chunks on demand.
This is a naive implementation of a multiplexing policy.
SingleOAdapter is an adapter for a single, persistent object.
Creates a new SingleOAdapter.
Returns the size of a message.
If >= 0, enables the SO_LINGER option with the specified linger time.
If >= 0, enables the SO_TIMEOUT option with the specified timeout (in
ms).
the source id of the RTP packet
A Stub factory is a factory for stubs...
If true, enables the TCP_NODELAY option.
TcpIpChunkProvider is a ChunkProvider implementation encapsulating a socket input
stream.
This interface defines a type for Tcp/Ip connection managers.
This is an implementation of the
Protocol
interface representing the TCP/IP stack.
Constructs a new instance of TcpIpProtocol.
TcpIpSrvConnectionFactory encapsulates a server socket.
the timestamp of the RTP packet
top - field in class org.objectweb.jonathan.resources.api.
Chunk Index of the last valid (written) byte in this chunk + 1.
Returns a string representation of the target chunk.
Returns a string representation of this session identifier.
Returns a string describing the contents of the RTP header
This interface defines a type for UDP connection managers.
Unexporting an identifier means that the target identifier no longer
designates the object interface it was created for (by some export
method).
Unexporting a session identifier means that the target session identifier
no longer designates the session it was created for.
Unexports the context identified by jid
.
UnMarshalException is a checked exception that indicates that an error occurred
when unmarshalling data.
Constructs a new UnMarshalException with no detail message.
Builds a UnMarshalException that wraps another exception.
Builds a UnMarshalException with a detail message.
UnMarshaller is the type of basic types unmarshallers.
An unmarshaller encoding the exception raised by the remote object.
URL of this session identifier
Indicates whether the names used to identify endpoints should be
host names or host addresses.