org.apache.axis2.transport.nhttp.util
Class PipeImpl
java.lang.Object
org.apache.axis2.transport.nhttp.util.PipeImpl
public class PipeImpl
- extends java.lang.Object
Create a Pipe suitable for the runtime platform. The java.nio.channels.Pipe implementation
on Windows uses TCP ports bound to the loopback interface to implement a Pipe. In Linux and
Solaris this is passed to a native method.
Field Summary |
protected static boolean |
useNative
|
Method Summary |
java.nio.channels.WritableByteChannel |
sink()
|
java.nio.channels.ReadableByteChannel |
source()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
useNative
protected static boolean useNative
PipeImpl
public PipeImpl()
throws java.io.IOException
- Throws:
java.io.IOException
source
public java.nio.channels.ReadableByteChannel source()
sink
public java.nio.channels.WritableByteChannel sink()
Copyright © 2007 Apache Web Services Project. All Rights Reserved.