|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object_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.apache.avalon.framework.logger.Logger |
logger
The logger. |
protected ORB |
orb
The ORB. |
protected Profile |
profile
The profile of this listener's endpoint. |
protected org.omg.ETF.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.apache.avalon.framework.configuration.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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ORB orb
protected Profile profile
protected ListenerBase.Acceptor acceptor
protected org.jacorb.config.Configuration configuration
protected org.apache.avalon.framework.logger.Logger logger
protected org.omg.ETF.Handle up
Constructor Detail |
---|
public ListenerBase()
Method Detail |
---|
public void configure(org.apache.avalon.framework.configuration.Configuration config) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.configuration.ConfigurationException
public void set_handle(Handle up)
public void listen()
protected void deliverConnection(Connection connection)
public Connection accept()
public void completed_data(Connection conn)
public void destroy()
public Profile endpoint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |