|
||||||||||
| 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._ConnectionLocalBase
org.jacorb.orb.iiop.IIOPConnection
public abstract class IIOPConnection
IIOPConnection.java Created: Sun Aug 12 20:18:47 2002
| Field Summary | |
|---|---|
protected org.jacorb.config.Configuration |
configuration
|
protected boolean |
connected
|
protected java.lang.String |
connection_info
|
protected java.io.InputStream |
in_stream
|
protected org.apache.avalon.framework.logger.Logger |
logger
shared with sub classes |
protected java.io.OutputStream |
out_stream
|
protected java.net.Socket |
socket
|
| Constructor Summary | |
|---|---|
IIOPConnection()
|
|
IIOPConnection(IIOPConnection other)
|
|
| Method Summary | |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
void |
flush()
|
boolean |
is_connected()
|
boolean |
is_data_available()
Simply return true if calling a read on this instance would find data in the connection. |
abstract boolean |
isSSL()
|
void |
read(BufferHolder data,
int offset,
int min_length,
int max_length,
long time_out)
read actual messages |
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(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. |
void |
write(boolean is_first,
boolean is_last,
byte[] data,
int offset,
int length,
long time_out)
|
| Methods inherited from class org.omg.ETF._ConnectionLocalBase |
|---|
_ids |
| Methods inherited from class org.omg.CORBA.LocalObject |
|---|
_create_request, _create_request, _duplicate, _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.ETF.ConnectionOperations |
|---|
close, connect, get_server_profile |
| Methods inherited from interface org.omg.CORBA.Object |
|---|
_create_request, _create_request, _duplicate, _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 boolean connected
protected java.io.InputStream in_stream
protected java.io.OutputStream out_stream
protected java.lang.String connection_info
protected java.net.Socket socket
protected org.apache.avalon.framework.logger.Logger logger
protected org.jacorb.config.Configuration configuration
| Constructor Detail |
|---|
public IIOPConnection(IIOPConnection other)
public IIOPConnection()
| Method Detail |
|---|
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableorg.apache.avalon.framework.configuration.ConfigurationException
public void read(BufferHolder data,
int offset,
int min_length,
int max_length,
long time_out)
read in interface ConnectionOperations
public void write(boolean is_first,
boolean is_last,
byte[] data,
int offset,
int length,
long time_out)
write in interface ConnectionOperationspublic void flush()
flush in interface ConnectionOperationspublic boolean is_connected()
is_connected in interface ConnectionOperationspublic void turnOnFinalTimeout()
public abstract boolean isSSL()
protected COMM_FAILURE to_COMM_FAILURE(java.io.IOException ex)
public boolean is_data_available()
is_data_available in interface ConnectionOperationspublic boolean wait_next_data(long time_out)
wait_next_data in interface ConnectionOperationspublic boolean supports_callback()
supports_callback in interface ConnectionOperationspublic boolean use_handle_time_out()
use_handle_time_out in interface ConnectionOperations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||