org.openorb.orb.net
Class BufferingSocketStreamDecorationStrategy.Factory

java.lang.Object
  extended by org.openorb.orb.net.BufferingSocketStreamDecorationStrategy.Factory
All Implemented Interfaces:
SocketStreamDecorationStrategy.Factory
Enclosing class:
BufferingSocketStreamDecorationStrategy

public static final class BufferingSocketStreamDecorationStrategy.Factory
extends java.lang.Object
implements SocketStreamDecorationStrategy.Factory

Factory for creating instances of BufferingSocketStreamDecorationStrategy.


Constructor Summary
BufferingSocketStreamDecorationStrategy.Factory()
          The required no-arg constructor
 
Method Summary
 SocketStreamDecorationStrategy create(org.openorb.util.logger.LoggerTeam logger, ORBLoader loader, java.lang.String prefix)
          Optionally creates a new BufferingSocketStreamDecorationStrategy based on the [<prefix>.]bufferedInputStreamSize [<prefix>.]bufferedOutputStreamSize properties defined in the loader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferingSocketStreamDecorationStrategy.Factory

public BufferingSocketStreamDecorationStrategy.Factory()
The required no-arg constructor

Method Detail

create

public SocketStreamDecorationStrategy create(org.openorb.util.logger.LoggerTeam logger,
                                             ORBLoader loader,
                                             java.lang.String prefix)
Optionally creates a new BufferingSocketStreamDecorationStrategy based on the [<prefix>.]bufferedInputStreamSize [<prefix>.]bufferedOutputStreamSize properties defined in the loader. If both of these properties are absent or zero then no object is created.

Specified by:
create in interface SocketStreamDecorationStrategy.Factory
Parameters:
logger - the logger team to used
loader - the orb loader to be used
prefix - the optional property name prefix to use, e.g. "iiop"
Returns:
a new object or null.
Throws:
INITIALIZE - if problems occured during setup