org.jruby.util
Class IOHandlerSocket

java.lang.Object
  extended byorg.jruby.util.IOHandler
      extended byorg.jruby.util.IOHandlerJavaIO
          extended byorg.jruby.util.IOHandlerUnseekable
              extended byorg.jruby.util.IOHandlerSocket

public class IOHandlerSocket
extends IOHandlerUnseekable


Nested Class Summary
 
Nested classes inherited from class org.jruby.util.IOHandler
IOHandler.BadDescriptorException, IOHandler.InvalidValueException, IOHandler.PipeException
 
Field Summary
 
Fields inherited from class org.jruby.util.IOHandlerUnseekable
input, output
 
Fields inherited from class org.jruby.util.IOHandlerJavaIO
ungotc
 
Fields inherited from class org.jruby.util.IOHandler
fileno, isOpen, isSync, modes, PARAGRAPH_DELIMETER, SEEK_CUR, SEEK_END, SEEK_SET
 
Constructor Summary
IOHandlerSocket(Ruby runtime, java.io.InputStream inStream, java.io.OutputStream outStream)
           
 
Method Summary
 ByteList recv(int len)
           
 
Methods inherited from class org.jruby.util.IOHandlerUnseekable
cloneIOHandler, close, flush, getFileChannel, getInputStream, getOutputStream, getsEntireStream, isEOF, pid, pos, resetByModes, rewind, seek, sync, sysread, sysread, sysread, syswrite, syswrite, truncate
 
Methods inherited from class org.jruby.util.IOHandlerJavaIO
getc, gets, putc, read, read, ready, sysread, ungetc, write
 
Methods inherited from class org.jruby.util.IOHandler
checkOpen, checkPermissionsSubsetOf, checkReadable, checkWritable, checkWriteable, getFileno, getModes, getRuntime, hasPendingBuffered, isOpen, isReadable, isSync, isWriteable, reset, setFileno, setIsSync, waitUntilReady
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOHandlerSocket

public IOHandlerSocket(Ruby runtime,
                       java.io.InputStream inStream,
                       java.io.OutputStream outStream)
                throws java.io.IOException
Method Detail

recv

public ByteList recv(int len)
              throws java.io.IOException,
                     IOHandler.BadDescriptorException
Throws:
java.io.IOException
IOHandler.BadDescriptorException


Copyright © 2002-2007 JRuby Team. All Rights Reserved.