se.lth.cs.opi
Class OPIStream

java.lang.Object
  extended byse.lth.cs.opi.OPIStream

public class OPIStream
extends java.lang.Object


Constructor Summary
OPIStream(int stype, long num_buffers, long buffer_size, int internal, int parse)
           
OPIStream(long cPointer, boolean cMemoryOwn)
           
 
Method Summary
 void _delete()
           
 int addData(OPIBuffer buffer)
           
 OPIBuffer getBuffer()
           
 long getCPtr()
           
 OPIBuffer getData()
           
 int isInternal()
           
 void returnBuffer(OPIBuffer buffer)
           
 void setBuffer(long data, long numBytes)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OPIStream

public OPIStream(long cPointer,
                 boolean cMemoryOwn)

OPIStream

public OPIStream(int stype,
                 long num_buffers,
                 long buffer_size,
                 int internal,
                 int parse)
Method Detail

getCPtr

public long getCPtr()

_delete

public void _delete()

setBuffer

public void setBuffer(long data,
                      long numBytes)

getBuffer

public OPIBuffer getBuffer()

addData

public int addData(OPIBuffer buffer)

getData

public OPIBuffer getData()

returnBuffer

public void returnBuffer(OPIBuffer buffer)

isInternal

public int isInternal()