Uses of Interface
org.ogf.saga.buffer.Buffer

Packages that use Buffer
org.ogf.saga.buffer This package provides the Buffer interface. 
org.ogf.saga.file This package provides classes to manipulate the contents of directories or files. 
org.ogf.saga.stream The streams package provides a simple mechanism for setting up connections to remote components. 
 

Uses of Buffer in org.ogf.saga.buffer
 

Methods in org.ogf.saga.buffer that return Buffer
static Buffer BufferFactory.createBuffer()
          Creates a (implementation-managed) buffer.
static Buffer BufferFactory.createBuffer(byte[] data)
          Creates a (application-allocated) buffer.
static Buffer BufferFactory.createBuffer(int size)
          Creates a (implementation-managed) buffer of the specified size.
static Buffer BufferFactory.createBuffer(String sagaFactoryClassname)
          Creates a (implementation-managed) buffer.
static Buffer BufferFactory.createBuffer(String sagaFactoryClassname, byte[] data)
          Creates a (application-allocated) buffer.
static Buffer BufferFactory.createBuffer(String sagaFactoryClassname, int size)
          Creates a (implementation-managed) buffer of the specified size.
protected abstract  Buffer BufferFactory.doCreateBuffer(byte[] data)
          Creates a buffer.
protected abstract  Buffer BufferFactory.doCreateBuffer(int size)
          Creates a buffer.
 

Uses of Buffer in org.ogf.saga.file
 

Subinterfaces of Buffer in org.ogf.saga.file
 interface IOVec
          Extends the Buffer interface with lenIn, lenOut, and offset attributes.
 

Methods in org.ogf.saga.file with parameters of type Buffer
 int File.read(Buffer buffer)
          Reads up to the buffer's size from the file into the buffer.
 int File.read(Buffer buffer, int len)
          Reads up to len bytes from the file into the buffer.
 int File.read(Buffer buffer, int offset, int len)
          Reads up to len bytes from the file into the buffer, at the specified offset.
 Task<File,Integer> File.read(TaskMode mode, Buffer buffer)
          Creates a task that reads up to the buffer's size bytes from the file into the buffer.
 Task<File,Integer> File.read(TaskMode mode, Buffer buffer, int len)
          Creates a task that reads up to len bytes from the file into the buffer.
 Task<File,Integer> File.read(TaskMode mode, Buffer buffer, int offset, int len)
          Creates a task that reads up to len bytes from the file into the buffer at the specified buffer offset.
 int File.readE(String emode, String spec, Buffer buffer)
          Extended read.
 Task<File,Integer> File.readE(TaskMode mode, String emode, String spec, Buffer buffer)
          Creates a task for an extended read.
 int File.readP(String pattern, Buffer buffer)
          Pattern-based read.
 Task<File,Integer> File.readP(TaskMode mode, String pattern, Buffer buffer)
          Creates a task that does a pattern-based read.
 int File.write(Buffer buffer)
          Writes up to the buffer's size bytes from the buffer to the file at the current file position.
 int File.write(Buffer buffer, int len)
          Writes up to len bytes from the buffer to the file at the current file position.
 int File.write(Buffer buffer, int offset, int len)
          Writes up to len bytes from the buffer at the specified buffer offset to the file at the current file position.
 Task<File,Integer> File.write(TaskMode mode, Buffer buffer)
          Creates a task that writes up to the buffer's size bytes from the buffer to the file at the current file position.
 Task<File,Integer> File.write(TaskMode mode, Buffer buffer, int len)
          Creates a task that writes up to len bytes from the buffer to the file at the current file position.
 Task<File,Integer> File.write(TaskMode mode, Buffer buffer, int offset, int len)
          Creates a task that writes up to len bytes from the buffer at the specified buffer offset to the file at the current file position.
 int File.writeE(String emode, String spec, Buffer buffer)
          Extended write.
 Task<File,Integer> File.writeE(TaskMode mode, String emode, String spec, Buffer buffer)
          Creates a task for an extended write.
 int File.writeP(String pattern, Buffer buffer)
          Pattern-based write.
 Task<File,Integer> File.writeP(TaskMode mode, String pattern, Buffer buffer)
          Creates a task that does a pattern-based write.
 

Uses of Buffer in org.ogf.saga.stream
 

Methods in org.ogf.saga.stream with parameters of type Buffer
 int Stream.read(Buffer buffer)
          Reads a raw buffer from the stream.
 int Stream.read(Buffer buffer, int len)
          Reads a raw buffer from the stream.
 Task<Stream,Integer> Stream.read(TaskMode mode, Buffer buffer)
          Creates a task that reads a raw buffer from the stream.
 Task<Stream,Integer> Stream.read(TaskMode mode, Buffer buffer, int len)
          Creates a task that reads a raw buffer from the stream.
 int Stream.write(Buffer buffer)
          Writes a raw buffer to the stream.
 int Stream.write(Buffer buffer, int len)
          Writes a raw buffer to the stream.
 Task<Stream,Integer> Stream.write(TaskMode mode, Buffer buffer)
          Creates a task that writes a raw buffer to the stream.
 Task<Stream,Integer> Stream.write(TaskMode mode, Buffer buffer, int len)
          Creates a task that writes a raw buffer to the stream.
 



Copyright © 2014 Open Grid Forum. All rights reserved.