|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.LocalObject
org.omg.ETF._ListenerLocalBase
org.jacorb.orb.etf.ListenerBase
public abstract class ListenerBase
Nested Class Summary | |
---|---|
protected class |
ListenerBase.Acceptor
|
Field Summary | |
---|---|
protected ListenerBase.Acceptor |
acceptor
The primary acceptor of this listener. |
protected org.jacorb.config.Configuration |
configuration
The configuration. |
protected org.slf4j.Logger |
logger
The logger. |
protected ORB |
orb
The ORB. |
protected Profile |
profile
The profile of this listener's endpoint. |
protected Handle |
up
Reference to the ORB, for delivering incoming connections via upcalls. |
Constructor Summary | |
---|---|
ListenerBase()
|
Method Summary | |
---|---|
Connection |
accept()
This call is an alternative to using set_handle() to initiate the callback-style of accepting new connections. |
void |
completed_data(Connection conn)
The connection instance is returned to the Listener. |
void |
configure(org.jacorb.config.Configuration config)
|
protected void |
deliverConnection(Connection connection)
Method the Acceptor implementation should call to pass an opened connection to the ORB. |
void |
destroy()
The Listener is instructed to close its endpoint. |
Profile |
endpoint()
Returns a copy of the profile describing the endpoint of this instance. |
void |
listen()
It is possible that connection requests arrive after the initial creation of the Listener instance but before the conclusion of the configuration of the specific endpoint in this plugin. |
void |
set_handle(Handle up)
This call establishes the link between the ORB (i.e. |
Methods inherited from class org.omg.ETF._ListenerLocalBase |
---|
_ids |
Methods inherited from class org.omg.CORBA.LocalObject |
---|
_create_request, _create_request, _duplicate, _get_component, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_component, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Field Detail |
---|
protected ORB orb
protected Profile profile
protected ListenerBase.Acceptor acceptor
protected org.jacorb.config.Configuration configuration
protected org.slf4j.Logger logger
protected Handle up
Constructor Detail |
---|
public ListenerBase()
Method Detail |
---|
public void configure(org.jacorb.config.Configuration config) throws org.jacorb.config.ConfigurationException
configure
in interface org.jacorb.config.Configurable
org.jacorb.config.ConfigurationException
public void set_handle(Handle up)
set_handle
in interface ListenerOperations
public void listen()
listen
in interface ListenerOperations
protected void deliverConnection(Connection connection)
public Connection accept()
accept
in interface ListenerOperations
public void completed_data(Connection conn)
completed_data
in interface ListenerOperations
public void destroy()
destroy
in interface ListenerOperations
public Profile endpoint()
endpoint
in interface ListenerOperations
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |