org.apache.axis2.transport.nhttp.util
Class PipeImpl

java.lang.Object
  extended by 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
           
 
Constructor Summary
PipeImpl()
           
 
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
 

Field Detail

useNative

protected static boolean useNative
Constructor Detail

PipeImpl

public PipeImpl()
         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

source

public java.nio.channels.ReadableByteChannel source()

sink

public java.nio.channels.WritableByteChannel sink()


Copyright © 2007 Apache Web Services Project. All Rights Reserved.