|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.openorb.orb.iiop.IIOPTransportServerInitializer
org.openorb.orb.csiv2.CSITransportServerInitializer
public class CSITransportServerInitializer
An initializer that is used for establishing server side endpoints based on configuration options.
Constructor Summary | |
---|---|
CSITransportServerInitializer()
Default constructor. |
Method Summary | |
---|---|
org.openorb.orb.net.Transport |
accept(int timeout)
Listen for an incoming connection. |
void |
close()
Stop listening for a connection. |
org.omg.IIOP.ListenPoint[] |
getBiDirEndpoints()
Get the list of endpoints allowed for bidirectional use. |
java.lang.String |
getName()
Return the name of the initializer: csiv2-server-init. |
void |
init(org.omg.PortableInterceptor.ORBInitInfo orbinfo,
org.openorb.orb.pi.FeatureInitInfo featureinfo)
Initialize the server side transport. |
boolean |
isOpen()
Checks whether the transport is open or not. |
void |
open()
Start listening for incoming connections. |
Methods inherited from class org.openorb.orb.iiop.IIOPTransportServerInitializer |
---|
getListenHost, getPrimaryEndpoint, svrString, toString |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CSITransportServerInitializer()
Method Detail |
---|
public java.lang.String getName()
getName
in interface org.openorb.orb.Initializer
getName
in class org.openorb.orb.iiop.IIOPTransportServerInitializer
public void init(org.omg.PortableInterceptor.ORBInitInfo orbinfo, org.openorb.orb.pi.FeatureInitInfo featureinfo)
init
in class org.openorb.orb.iiop.IIOPTransportServerInitializer
orbinfo
- The ORB init info.featureinfo
- The ORB features.public void open()
open
in interface org.openorb.orb.net.TransportServerInitializer
open
in class org.openorb.orb.iiop.IIOPTransportServerInitializer
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.public org.omg.IIOP.ListenPoint[] getBiDirEndpoints()
getBiDirEndpoints
in class org.openorb.orb.iiop.IIOPTransportServerInitializer
public void close()
close
in interface org.openorb.orb.net.TransportServerInitializer
close
in class org.openorb.orb.iiop.IIOPTransportServerInitializer
public boolean isOpen()
isOpen
in interface org.openorb.orb.net.TransportServerInitializer
isOpen
in class org.openorb.orb.iiop.IIOPTransportServerInitializer
public org.openorb.orb.net.Transport accept(int timeout)
accept
in interface org.openorb.orb.net.TransportServerInitializer
accept
in class org.openorb.orb.iiop.IIOPTransportServerInitializer
timeout
- The timeout value how long to wait for connections.
org.omg.CORBA.COMM_FAILURE
- If some permanent comms problem occours
this will result in server shutdown.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |