org.openorb.ssliop
Class SSLTransportServerInitializer
java.lang.Object
|
+--org.openorb.iiop.IIOPTransportServerInitializer
|
+--org.openorb.ssliop.SSLTransportServerInitializer
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled, org.openorb.net.TransportServerInitializer
- public class SSLTransportServerInitializer
- extends org.openorb.iiop.IIOPTransportServerInitializer
- implements org.apache.avalon.framework.logger.LogEnabled
Interface for creating sockets.
- Author:
- Chris Wood
|
Constructor Summary |
SSLTransportServerInitializer(org.omg.PortableInterceptor.ORBInitInfo orbinfo,
org.openorb.PI.FeatureInitInfo featureinfo)
Any replacement classes must implement an identical constructor. |
|
Method Summary |
org.openorb.net.Transport |
accept(int timeout)
Listen for an incomming connection. |
void |
close()
Stop listening for a connection. |
void |
enableLogging(org.apache.avalon.framework.logger.Logger logger)
|
org.omg.IIOP.ListenPoint[] |
getBiDirEndpoints()
Get the list of endpoints allowed for bidirectional use. |
boolean |
isOpen()
Is is the transport open? |
void |
open()
Start listening for incomming connections. |
java.lang.String |
toString()
Return an info string. |
| Methods inherited from class org.openorb.iiop.IIOPTransportServerInitializer |
getPrimaryEndpoint |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SSLTransportServerInitializer
public SSLTransportServerInitializer(org.omg.PortableInterceptor.ORBInitInfo orbinfo,
org.openorb.PI.FeatureInitInfo featureinfo)
- Any replacement classes must implement an identical constructor.
enableLogging
public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
- Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled
open
public void open()
- Start listening for incomming connections. Idempotent.
- Overrides:
open in class org.openorb.iiop.IIOPTransportServerInitializer
- Throws:
org.omg.CORBA.COMM_FAILURE - If unable to listen. This will result
in server shutdown.org.omg.CORBA.TRANSIENT - If unable to listen, and try again later.
getBiDirEndpoints
public org.omg.IIOP.ListenPoint[] getBiDirEndpoints()
- Get the list of endpoints allowed for bidirectional use. These will
be transmitted in BI_DIR_IIOP service contexts. If empty or null then
bidirectional IIOP will be disabled.
- Overrides:
getBiDirEndpoints in class org.openorb.iiop.IIOPTransportServerInitializer
close
public void close()
- Stop listening for a connection. Idempotent.
- Overrides:
close in class org.openorb.iiop.IIOPTransportServerInitializer
isOpen
public boolean isOpen()
- Is is the transport open?
- Overrides:
isOpen in class org.openorb.iiop.IIOPTransportServerInitializer
accept
public org.openorb.net.Transport accept(int timeout)
- Listen for an incomming connection.
- Overrides:
accept in class org.openorb.iiop.IIOPTransportServerInitializer
- Returns:
- transport for new connection, or null if no connection recieved.
- Throws:
org.omg.CORBA.COMM_FAILURE - If some permanent comms problem occours
this will result in server shutdown.
toString
public java.lang.String toString()
- Return an info string.
- Overrides:
toString in class org.openorb.iiop.IIOPTransportServerInitializer