public class BasicAdapter extends org.omg.ETF._HandleLocalBase implements Configurable
Modifier and Type | Method and Description |
---|---|
boolean |
add_input(org.omg.ETF.Connection conn)
Announces a new connection instance to the ORB.
|
void |
closed_by_peer(org.omg.ETF.Connection conn)
In some cases, the client side can initiate the closing of a
connection.
|
void |
configure(Configuration myConfiguration)
configure the BasicAdapter
|
void |
deliverRequest(ServerRequest request,
POA poa)
to be called from the POA, code duplicated for performance
reasons to avoid synchronization in the private version of this
method.
|
String |
getAddress()
Deprecated.
This method cannot return a sensible result in the presence
of alternate transports, use
getEndpointProfiles() instead. |
List<org.omg.ETF.Profile> |
getEndpointProfiles()
Returns a List of endpoint profiles for all transports that listen
for incoming connections.
|
ORB |
getORB() |
int |
getPort()
Deprecated.
This method cannot return a sensible result in the presence
of alternate transports, use
getEndpointProfiles() instead. |
RequestListener |
getRequestListener() |
int |
getSSLPort()
Deprecated.
This method cannot return a sensible result in the presence
of alternate transports, use
getEndpointProfiles() instead. |
boolean |
hasSSLListener()
Deprecated.
This method cannot return a sensible result in the presence
of alternate transports, use
getEndpointProfiles() instead. |
void |
renewSSLServerSockets()
Tell all IIOPListeners to renew their SSL server sockets.
|
void |
return_result(ServerRequest request)
to be called from the POA
|
void |
signal_data_available(org.omg.ETF.Connection conn)
The plugged-in transport (e.g.
|
void |
stopListeners() |
_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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
public void configure(Configuration myConfiguration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public RequestListener getRequestListener()
public List<org.omg.ETF.Profile> getEndpointProfiles()
@Deprecated public int getPort()
getEndpointProfiles()
instead.@Deprecated public int getSSLPort()
getEndpointProfiles()
instead.@Deprecated public boolean hasSSLListener()
getEndpointProfiles()
instead.@Deprecated public String getAddress()
getEndpointProfiles()
instead.public void deliverRequest(ServerRequest request, POA poa)
public void return_result(ServerRequest request)
public void stopListeners()
public void renewSSLServerSockets()
IIOPListener.renewSSLServerSocket()
public boolean add_input(org.omg.ETF.Connection conn)
The Handle shall accept the connection (and cache information about it if needed), as long as it is allowed to do so by the ORB. In this case it shall return true. If a new connection is currently not allowed, it shall ignore the passed instance and return false.
add_input
in interface org.omg.ETF.HandleOperations
public void closed_by_peer(org.omg.ETF.Connection conn)
closed_by_peer
in interface org.omg.ETF.HandleOperations
public void signal_data_available(org.omg.ETF.Connection conn)
signal_data_available
in interface org.omg.ETF.HandleOperations
public ORB getORB()
Copyright © 2017 JacORB. All rights reserved.