|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.ETF._ConnectionLocalBase
org.jacorb.orb.etf.ConnectionBase
public abstract class ConnectionBase
This an abstract base implementation of the ETF::Connection interface.
Field Summary | |
---|---|
protected java.io.ByteArrayOutputStream |
b_out
Optionally initialised to be used in the dumping of messages. |
protected org.jacorb.config.Configuration |
configuration
|
protected boolean |
connected
|
protected java.lang.String |
connection_info
|
protected int |
finalTimeout
Time out after a close connection has been received. |
protected org.apache.avalon.framework.logger.Logger |
logger
shared with sub classes |
protected ORB |
orb
|
protected ProfileBase |
profile
The Profile of the target / server side of the connection. |
Constructor Summary | |
---|---|
protected |
ConnectionBase()
|
protected |
ConnectionBase(ConnectionBase other)
Initialise this instance as a copy of another. |
Method Summary | |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration config)
|
org.omg.ETF.Profile |
get_server_profile()
|
protected java.lang.String |
getLocalhost()
|
protected abstract int |
getTimeout()
|
boolean |
is_connected()
|
protected abstract void |
setTimeout(int timeout)
|
boolean |
supports_callback()
A boolean flag describing whether this connection supports the Bidirectional GIOP mechanism as described by GIOP-1.2 in CORBA 2.3.1 (OMG Document: formal/99-10-07). |
protected org.omg.CORBA.COMM_FAILURE |
to_COMM_FAILURE(java.io.IOException ex)
|
void |
turnOnFinalTimeout()
This is used to tell the transport that a CloseConnection has been sent, and that it should set a timeout in case the client doesn't close its side of the connection right away. |
boolean |
use_handle_time_out()
A flag directing the ORB to use either the Handle class to perform data queries with a time_out, or the transport layer (through this connection). |
boolean |
wait_next_data(long time_out)
Wait for the given time_out period for incoming data on this connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean connected
protected java.io.ByteArrayOutputStream b_out
jacorb.debug.dump_outgoing_messages
.
Default is off.
protected int finalTimeout
jacorb.connection.timeout_after_closeconnection
.
Default 20000 milliseconds.
protected ProfileBase profile
protected org.apache.avalon.framework.logger.Logger logger
protected org.jacorb.config.Configuration configuration
protected java.lang.String connection_info
protected ORB orb
Constructor Detail |
---|
protected ConnectionBase()
protected ConnectionBase(ConnectionBase other)
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
protected abstract void setTimeout(int timeout)
protected abstract int getTimeout()
public org.omg.ETF.Profile get_server_profile()
public boolean is_connected()
public void turnOnFinalTimeout()
protected org.omg.CORBA.COMM_FAILURE to_COMM_FAILURE(java.io.IOException ex)
public boolean wait_next_data(long time_out)
public boolean supports_callback()
public boolean use_handle_time_out()
protected final java.lang.String getLocalhost()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |