org.jboss.remoting3.stream
Class OutputStreamHandlerFactory
java.lang.Object
org.jboss.remoting3.stream.OutputStreamHandlerFactory
- All Implemented Interfaces:
- StreamHandlerFactory<OutputStream,org.jboss.xnio.channels.StreamChannel>
public final class OutputStreamHandlerFactory
- extends Object
- implements StreamHandlerFactory<OutputStream,org.jboss.xnio.channels.StreamChannel>
A handler factory for automatic forwarding of output streams.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStreamHandlerFactory
public OutputStreamHandlerFactory()
createStreamHandler
public StreamHandler<OutputStream,org.jboss.xnio.channels.StreamChannel> createStreamHandler(OutputStream localInstance,
StreamContext streamContext)
throws IOException
- Create a stream handler instance for a local object.
- Specified by:
createStreamHandler in interface StreamHandlerFactory<OutputStream,org.jboss.xnio.channels.StreamChannel>
- Parameters:
localInstance - the local instancestreamContext - the stream context
- Returns:
- the stream handler for this type
- Throws:
IOException - if an error occurs
Copyright © 2010 JBoss, a division of Red Hat, Inc.