net.ranides.assira.io
Class IOEvent

java.lang.Object
  extended by net.ranides.assira.io.IOEvent
All Implemented Interfaces:
Event
Direct Known Subclasses:
IOEvent.Close, IOEvent.Failure, IOEvent.Flush, IOEvent.Local, IOEvent.Open, IOEvent.Read, IOEvent.Write

public abstract class IOEvent
extends Object
implements Event

Author:
ranides

Nested Class Summary
static class IOEvent.Close
           
static class IOEvent.Failure
           
static class IOEvent.Flush
           
static class IOEvent.Local
           
static class IOEvent.LocalProgress
           
static class IOEvent.Open
           
static class IOEvent.Read
           
static class IOEvent.ReadByte
           
static class IOEvent.ReadByteArray
           
static class IOEvent.Write
           
static class IOEvent.WriteByte
           
static class IOEvent.WriteByteArray
           
 
Constructor Summary
IOEvent()
           
 
Method Summary
static IOEvent.Close close()
           
static IOEvent.Failure failure(IOException cause)
           
static IOEvent.Flush flush()
           
static IOEvent.Open open()
           
static IOEvent.LocalProgress progress(File file, long current, long max)
           
static IOEvent.ReadByteArray read(byte[] array)
           
static IOEvent.ReadByteArray read(byte[] array, int offset, int length)
           
static IOEvent.ReadByte read(int value)
           
static IOEvent.WriteByteArray write(byte[] array)
           
static IOEvent.WriteByteArray write(byte[] array, int offset, int length)
           
static IOEvent.WriteByte write(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOEvent

public IOEvent()
Method Detail

close

public static IOEvent.Close close()

flush

public static IOEvent.Flush flush()

open

public static IOEvent.Open open()

failure

public static IOEvent.Failure failure(IOException cause)

read

public static IOEvent.ReadByte read(int value)

read

public static IOEvent.ReadByteArray read(byte[] array)

read

public static IOEvent.ReadByteArray read(byte[] array,
                                         int offset,
                                         int length)

write

public static IOEvent.WriteByte write(int value)

write

public static IOEvent.WriteByteArray write(byte[] array)

write

public static IOEvent.WriteByteArray write(byte[] array,
                                           int offset,
                                           int length)

progress

public static IOEvent.LocalProgress progress(File file,
                                             long current,
                                             long max)


Copyright © 2013. All Rights Reserved.