de.netseeker.ejoe.io
Class IncompleteIOException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.io.IOException
              
de.netseeker.ejoe.io.IncompleteIOException
- All Implemented Interfaces: 
 - java.io.Serializable
 
- public class IncompleteIOException
- extends java.io.IOException
  
A special exception type which will be thrown when a incomplete non-blocking
 IO read or write operation occurs.
- Author:
 
  - netseeker
 
- See Also:
 - Serialized Form
 
| 
Constructor Summary | 
IncompleteIOException(java.nio.ByteBuffer buf)
 
          Creates a new IncompleteIOException and stores the given ByteBuffer for
 possible reuse | 
IncompleteIOException(java.nio.ByteBuffer buf,
                      int selectionInterest)
 
          Creates a new IncompleteIOException and stores the given ByteBuffer for
 possible reuse.  | 
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
IncompleteIOException
public IncompleteIOException(java.nio.ByteBuffer buf)
- Creates a new IncompleteIOException and stores the given ByteBuffer for
 possible reuse
 - Parameters:
 buf - the ByteBuffer containing the partial read/not yet written
            data
IncompleteIOException
public IncompleteIOException(java.nio.ByteBuffer buf,
                             int selectionInterest)
- Creates a new IncompleteIOException and stores the given ByteBuffer for
 possible reuse. Additionally it stores the type of the operation which
 has thrown this Exception.
 - Parameters:
 buf - the ByteBuffer containing the partial read/not yet written
            dataselectionInterest - type of the io operation which has caused the exception, can
            be either SelectionKey.OP_READ or SelectionKey.OP_WRITE- See Also:
 SelectionKey
getIOBuffer
public java.nio.ByteBuffer getIOBuffer()
- Returns the contained ByteBuffer.
- Returns:
 
 
 
setIOBuffer
public void setIOBuffer(java.nio.ByteBuffer buf)
- Parameters:
 buf - The ByteBuffer to set.
 
getSelectionInterest
public int getSelectionInterest()
 
setSelectionInterest
public void setSelectionInterest(int interest)
 
Copyright © 2005-2006 netseeker. All Rights Reserved.