com.sybase.jdbc2.timedio
Class InStreamMgr
java.lang.Object
|
+--com.sybase.jdbc2.timedio.InStreamMgr
- public class InStreamMgr
- extends Object
Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |
_cacheSize
private int _cacheSize
_cancelling
private boolean _cancelling
_capSqw
private java.sql.SQLWarning _capSqw
_closing
private boolean _closing
_currentCtx
private com.sybase.jdbc2.timedio.StreamContext _currentCtx
_dbio
private com.sybase.jdbc2.timedio.Dbio _dbio
_eventCtx
private com.sybase.jdbc2.timedio.StreamContext _eventCtx
_outMgr
private com.sybase.jdbc2.timedio.OutStreamMgr _outMgr
_partialBI
com.sybase.jdbc2.utils.BufferInterval _partialBI
_pool
private com.sybase.jdbc2.utils.BufferPool _pool
_readAhead
private boolean _readAhead
_readerThd
private com.sybase.jdbc2.utils.SyncObj _readerThd
_readList
private com.sybase.jdbc2.utils.SyncQueue _readList
_serialize
private boolean _serialize
_tds
public com.sybase.jdbc2.tds.Tds _tds
_tracing
public boolean _tracing
ERROR
public final static int ERROR
EVENT
public final static int EVENT
EVENT_DONE
public final static int EVENT_DONE
PARTIAL_PACKET
public final static int PARTIAL_PACKET
RESPONSE_DONE
public final static int RESPONSE_DONE
RESPONSE_MORE
public final static int RESPONSE_MORE
RESPONSE_OPEN
public final static int RESPONSE_OPEN
InStreamMgr
public InStreamMgr(java.lang.String , int , com.sybase.jdbc2.jdbc.SybProperty )
cacheResponses
protected void cacheResponses(com.sybase.jdbc2.timedio.StreamContext )
cancelling
public void cancelling(boolean )
close
public void close()
closing
public void closing()
currentContext
protected com.sybase.jdbc2.timedio.StreamContext currentContext()
doRead
public void doRead(com.sybase.jdbc2.timedio.StreamContext )
dump
protected com.sybase.jdbc2.utils.SyncObj dump()
getBI
public com.sybase.jdbc2.utils.BufferInterval getBI()
getCapture
public com.sybase.jdbc2.jdbc.Capture getCapture()
getCaptureWarnings
public java.sql.SQLWarning getCaptureWarnings()
getCurrentContext
private synchronized com.sybase.jdbc2.timedio.StreamContext getCurrentContext()
getInputStream
public java.io.InputStream getInputStream()
getOutputStream
public java.io.OutputStream getOutputStream()
getReadQueue
protected com.sybase.jdbc2.utils.SyncQueue getReadQueue()
getSessionID
public java.lang.String getSessionID()
markDead
public void markDead()
moreData
protected void moreData(com.sybase.jdbc2.utils.BufferInterval , int )
partialPacket
private void partialPacket(com.sybase.jdbc2.utils.BufferInterval )
readIfOwner
private void readIfOwner(int , com.sybase.jdbc2.timedio.StreamContext )
reportError
public void reportError(java.lang.String )
setBuffer
protected void setBuffer(long )
setCurrentContextNull
public synchronized void setCurrentContextNull()
setEventContext
public void setEventContext(com.sybase.jdbc2.timedio.StreamContext )
setNetBufSize
public void setNetBufSize(int )
setOutStreamMgr
protected void setOutStreamMgr(com.sybase.jdbc2.timedio.OutStreamMgr )
setSerialize
public void setSerialize()
startAsync
public boolean startAsync()
takeIfNoReadAhead
private int takeIfNoReadAhead(com.sybase.jdbc2.timedio.StreamContext )