FileDocCategorySizeDatePackage
ORBDataParserImpl.javaAPI DocJava SE 5 API11108Fri Aug 26 14:54:28 BST 2005com.sun.corba.se.impl.orb

ORBDataParserImpl

public class ORBDataParserImpl extends ParserImplTableBase implements ORBData

Fields Summary
private ORB
orb
private ORBUtilSystemException
wrapper
private String
ORBInitialHost
private int
ORBInitialPort
private String
ORBServerHost
private int
ORBServerPort
private String
listenOnAllInterfaces
private ORBSocketFactory
legacySocketFactory
private ORBSocketFactory
socketFactory
private USLPort[]
userSpecifiedListenPorts
private IORToSocketInfo
iorToSocketInfo
private IIOPPrimaryToContactInfo
iiopPrimaryToContactInfo
private String
orbId
private boolean
orbServerIdPropertySpecified
private URL
servicesURL
private String
propertyInitRef
private boolean
allowLocalOptimization
private GIOPVersion
giopVersion
private int
highWaterMark
private int
lowWaterMark
private int
numberToReclaim
private int
giopFragmentSize
private int
giopBufferSize
private int
giop11BuffMgr
private int
giop12BuffMgr
private short
giopTargetAddressPreference
private short
giopAddressDisposition
private boolean
useByteOrderMarkers
private boolean
useByteOrderMarkersInEncaps
private boolean
alwaysSendCodeSetCtx
private boolean
persistentPortInitialized
private int
persistentServerPort
private boolean
persistentServerIdInitialized
private int
persistentServerId
private boolean
serverIsORBActivated
private Class
badServerIdHandlerClass
private CodeSetComponentInfo$CodeSetComponent
charData
private CodeSetComponentInfo$CodeSetComponent
wcharData
private ORBInitializer[]
orbInitializers
private StringPair[]
orbInitialReferences
private String
defaultInitRef
private String[]
debugFlags
private Acceptor[]
acceptors
private CorbaContactInfoListFactory
corbaContactInfoListFactory
private String
acceptorSocketType
private boolean
acceptorSocketUseSelectThreadToWait
private boolean
acceptorSocketUseWorkerThreadForEvent
private String
connectionSocketType
private boolean
connectionSocketUseSelectThreadToWait
private boolean
connectionSocketUseWorkerThreadForEvent
private ReadTimeouts
readTimeouts
private boolean
disableDirectByteBufferUse
private boolean
enableJavaSerialization
private boolean
useRepId
private CodeSetComponentInfo
codesets
Constructors Summary
public ORBDataParserImpl(ORB orb, DataCollector coll)

	super( ParserTable.get().getParserData() ) ;
	this.orb = orb ;
	wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.ORB_LIFECYCLE ) ;
	init( coll ) ;
	complete() ;
    
Methods Summary
public java.lang.StringacceptorSocketType()

	return acceptorSocketType;
    
public booleanacceptorSocketUseSelectThreadToWait()

	return acceptorSocketUseSelectThreadToWait;
    
public booleanacceptorSocketUseWorkerThreadForEvent()

	return acceptorSocketUseWorkerThreadForEvent;
    
public booleanalwaysSendCodeSetServiceContext()

 
	return alwaysSendCodeSetCtx; 
    
public voidcomplete()

        codesets = new CodeSetComponentInfo(charData, wcharData);
    
public java.lang.StringconnectionSocketType()

	return connectionSocketType;
    
public booleanconnectionSocketUseSelectThreadToWait()

	return connectionSocketUseSelectThreadToWait;
    
public booleanconnectionSocketUseWorkerThreadForEvent()

	return connectionSocketUseWorkerThreadForEvent;
    
public booleandisableDirectByteBufferUse()

	return disableDirectByteBufferUse ;
    
public com.sun.corba.se.pept.transport.Acceptor[]getAcceptors()

	return acceptors;
    
public java.lang.ClassgetBadServerIdHandler()

	return badServerIdHandlerClass ;
    
public com.sun.corba.se.impl.encoding.CodeSetComponentInfogetCodeSetComponentInfo()
Get the prefered code sets for connections. Should the client send the code set service context on every request?

 
	return codesets; 
    
public com.sun.corba.se.spi.transport.CorbaContactInfoListFactorygetCorbaContactInfoListFactory()

	return corbaContactInfoListFactory;
    
public shortgetGIOPAddressDisposition()

 
	return giopAddressDisposition;    
    
public intgetGIOPBuffMgrStrategy(com.sun.corba.se.spi.ior.iiop.GIOPVersion gv)

        if(gv!=null){
            if (gv.equals(GIOPVersion.V1_0)) return 0; //Always grow for 1.0
            if (gv.equals(GIOPVersion.V1_1)) return giop11BuffMgr;
            if (gv.equals(GIOPVersion.V1_2)) return giop12BuffMgr;
        }
        //If a "faulty" GIOPVersion is passed, it's going to return 0;
        return 0;
    
public intgetGIOPBufferSize()

 
	return giopBufferSize; 
    
public intgetGIOPFragmentSize()

 
	return giopFragmentSize; 
    
public shortgetGIOPTargetAddressPreference()

return
the GIOP Target Addressing preference of the ORB. This ORB by default supports all addressing dispositions unless specified otherwise via a java system property ORBConstants.GIOP_TARGET_ADDRESSING

 
	return giopTargetAddressPreference; 
    
public com.sun.corba.se.spi.ior.iiop.GIOPVersiongetGIOPVersion()

 
	return giopVersion; 
    
public intgetHighWaterMark()

 
	return highWaterMark; 
    
public com.sun.corba.se.spi.transport.IIOPPrimaryToContactInfogetIIOPPrimaryToContactInfo()

	return iiopPrimaryToContactInfo;
    
public com.sun.corba.se.spi.transport.IORToSocketInfogetIORToSocketInfo()

	return iorToSocketInfo;
    
public com.sun.corba.se.spi.legacy.connection.ORBSocketFactorygetLegacySocketFactory()

	return legacySocketFactory;
    
public java.lang.StringgetListenOnAllInterfaces()

 
	return listenOnAllInterfaces;
    
public intgetLowWaterMark()

 
	return lowWaterMark; 
    
public intgetNumberToReclaim()

 
	return numberToReclaim; 
    
public java.lang.String[]getORBDebugFlags()

	return debugFlags ;
    
public java.lang.StringgetORBDefaultInitialReference()

	return defaultInitRef ;
    
public java.lang.StringgetORBId()

 
	return orbId; 
    
public java.lang.StringgetORBInitialHost()

 
	return ORBInitialHost; 
    
public intgetORBInitialPort()

 
	return ORBInitialPort; 
    
public com.sun.corba.se.spi.orb.StringPair[]getORBInitialReferences()

	return orbInitialReferences ;
    
public org.omg.PortableInterceptor.ORBInitializer[]getORBInitializers()

	return orbInitializers ;
    
public java.lang.StringgetORBServerHost()

 
	return ORBServerHost; 
    
public booleangetORBServerIdPropertySpecified()

 
	return orbServerIdPropertySpecified; 
    
public intgetORBServerPort()

 
	return ORBServerPort; 
    
public booleangetPersistentPortInitialized()

 
	return persistentPortInitialized ; 
    
public intgetPersistentServerId()
Return the persistent-server-id of this server. This id is the same across multiple activations of this server. This is in contrast to com.sun.corba.se.impl.iiop.ORB.getTransientServerId() which returns a transient id that is guaranteed to be different across multiple activations of this server. The user/environment is required to supply the persistent-server-id every time this server is started, in the ORBServerId parameter, System properties, or other means. The user is also required to ensure that no two persistent servers on the same host have the same server-id.

        if ( persistentServerIdInitialized ) {
            return persistentServerId;
        } else {
	    throw wrapper.persistentServeridNotSet( 
		CompletionStatus.COMPLETED_MAYBE);
	}
    
public booleangetPersistentServerIdInitialized()

 
	return persistentServerIdInitialized; 
    
public intgetPersistentServerPort()

	if ( persistentPortInitialized ) // this is a user-activated server
	    return persistentServerPort;
	else {
	    throw wrapper.persistentServerportNotSet( 
		CompletionStatus.COMPLETED_MAYBE );
	}
    
public booleangetServerIsORBActivated()

 
	return serverIsORBActivated ; 
    
public com.sun.corba.se.spi.transport.ORBSocketFactorygetSocketFactory()

 
	return socketFactory; 
    
public com.sun.corba.se.spi.transport.ReadTimeoutsgetTransportTCPReadTimeouts()

	return readTimeouts;
    
public com.sun.corba.se.impl.legacy.connection.USLPort[]getUserSpecifiedListenPorts()

 
	return userSpecifiedListenPorts; 
    
public booleanisJavaSerializationEnabled()

	return enableJavaSerialization;
    
public booleanisLocalOptimizationAllowed()

 
	return allowLocalOptimization ; 
    
public booleanuseByteOrderMarkers()

 
	return useByteOrderMarkers; 
    
public booleanuseByteOrderMarkersInEncapsulations()

 
	return useByteOrderMarkersInEncaps; 
    
public booleanuseRepId()

	return useRepId;