org.jacorb.orb.etf
public abstract class ConnectionBase extends _ConnectionLocalBase implements Configurable
Version: $Id: ConnectionBase.java,v 1.3 2006/06/26 08:09:30 alphonse.bendt Exp $
| Field Summary | |
|---|---|
| protected ByteArrayOutputStream | b_out
Optionally initialised to be used in the dumping of messages.
|
| protected Configuration | configuration |
| protected boolean | connected |
| protected String | connection_info |
| protected int | finalTimeout
Time out after a close connection has been received.
|
| protected 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(Configuration config) |
| protected String | getLocalhost() |
| protected abstract int | getTimeout() |
| Profile | get_server_profile() |
| 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 COMM_FAILURE | to_COMM_FAILURE(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. |
jacorb.debug.dump_outgoing_messages.
Default is off.jacorb.connection.timeout_after_closeconnection.
Default 20000 milliseconds.