public class IIOPTransportServerInitializer extends AbstractLogEnabled implements TransportServerInitializer, Initializer
| Constructor and Description |
|---|
IIOPTransportServerInitializer()
Any replacement classes must implement an identical constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected java.net.InetAddress |
getListenHost()
Get the listen host.
|
java.lang.String |
getName()
Return the name of the initializer.
|
org.omg.IIOP.ListenPoint |
getPrimaryEndpoint()
Get the primary endpoint published in the IIOP profile.
|
void |
init(org.omg.PortableInterceptor.ORBInitInfo orbinfo,
FeatureInitInfo featureinfo)
Initialize method.
|
boolean |
isOpen()
Is is the transport open?
|
void |
open()
Start listening for incoming connections.
|
protected java.lang.String |
svrString() |
java.lang.String |
toString() |
public IIOPTransportServerInitializer()
public java.lang.String getName()
InitializergetName in interface Initializerpublic void init(org.omg.PortableInterceptor.ORBInitInfo orbinfo,
FeatureInitInfo featureinfo)
orbinfo - featureinfo - public void open()
open in interface TransportServerInitializerorg.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 getPrimaryEndpoint()
public org.omg.IIOP.ListenPoint[] getBiDirEndpoints()
protected java.net.InetAddress getListenHost()
public void close()
close in interface TransportServerInitializerpublic boolean isOpen()
isOpen in interface TransportServerInitializerpublic Transport accept(int timeout)
accept in interface TransportServerInitializerorg.omg.CORBA.COMM_FAILURE - If some permanent comms problem occours
this will result in server shutdown.public java.lang.String toString()
protected java.lang.String svrString()