|
Project JXTA | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SimpleSelectable | |
net.jxta.endpoint | Provides interfaces and classes used for the addressing, filtering, sending, and receiving of messages within JXTA. |
net.jxta.util | A collection of utility classes used by the JXTA implementation and/or useful to users of the JXTA API. |
Uses of SimpleSelectable in net.jxta.endpoint |
Subinterfaces of SimpleSelectable in net.jxta.endpoint | |
interface |
Messenger
A Messenger is used to send messages to a destination. |
Classes in net.jxta.endpoint that implement SimpleSelectable | |
class |
AbstractMessenger
An AbstractMessenger is used to implement messengers (for example, by transport modules). |
class |
AsyncChannelMessenger
|
class |
ChannelMessenger
A Channel Messenger provides an exclusive interface to the shared messenger. |
class |
Message
Messages are containers for protocol messages within JXTA. |
class |
ThreadedMessenger
This is a messenger meant to be shared by multiple channels and automatically distribute the available bandwith among the channels. |
Methods in net.jxta.endpoint with parameters of type SimpleSelectable | |
void |
Message.itemChanged(SimpleSelectable o)
This method is invoked when the given selectable object has changed. This permits to cascade selectable objects, so that one reports a change when the other changes, without having to select it. This Also permits to implement this interface by delegating its implementation to a utility class. An implementation may do what it wants about it. For example, a SimpleSelector will report the change to SimpleSelector.select() and invoke AbstractSimpleSelectable.notifyChange() thereby reporting its own change to cascaded selectors. Other implementations may
only invoke AbstractSimpleSelectable.notifyChange() or may perform more complex tasks. |
void |
AbstractMessenger.itemChanged(SimpleSelectable changedObject)
Implements a default for all AbstractMessengers: mirror the event to our selectors. |
Uses of SimpleSelectable in net.jxta.util |
Classes in net.jxta.util that implement SimpleSelectable | |
class |
AbstractSimpleSelectable
This a tool to implement selectable objects. |
class |
SimpleSelector
A very primitive version of NIO's select mechanism. |
Methods in net.jxta.util with parameters of type SimpleSelectable | |
void |
SimpleSelector.itemChanged(SimpleSelectable item)
This is invoked by registered items when their state changes. |
void |
SimpleSelectable.itemChanged(SimpleSelectable changedObject)
This method is invoked when the given selectable object has changed. |
protected void |
AbstractSimpleSelectable.registerListener(SimpleSelectable selectable)
This method takes any listener, not just a SimpleSelector. |
protected void |
AbstractSimpleSelectable.unregisterListener(SimpleSelectable selectable)
This method takes any listener, not just a SimpleSelector. |
Constructors in net.jxta.util with parameters of type SimpleSelectable | |
AbstractSimpleSelectable(SimpleSelectable srcObject)
|
|
JXTA J2SE | ||||||||||
PREV NEXT | FRAMES NO FRAMES |