public interface CmSocket
| Modifier and Type | Field and Description |
|---|---|
static int |
INVALID_SOCKTFD |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CmConnType |
getConnType() |
int |
getSocketFD() |
int |
getSockRcvBufSize() |
int |
getSockSndBufSize() |
void |
open(java.net.SocketAddress aSockAddr,
java.lang.String aBindAddr,
int aLoginTimeout) |
int |
read(java.nio.ByteBuffer aBuffer) |
void |
setResponseTimeout(int aResponseTimeout) |
void |
setSockRcvBufSize(int aSockRcvBufSize) |
void |
setSockSndBufSize(int aSockSndBufSize) |
int |
write(java.nio.ByteBuffer aBuffer) |
static final int INVALID_SOCKTFD
CmConnType getConnType()
void open(java.net.SocketAddress aSockAddr,
java.lang.String aBindAddr,
int aLoginTimeout)
throws java.sql.SQLException
java.sql.SQLExceptionvoid close()
throws java.io.IOException
java.io.IOExceptionint read(java.nio.ByteBuffer aBuffer) throws java.io.IOException
java.io.IOExceptionint write(java.nio.ByteBuffer aBuffer) throws java.io.IOException
java.io.IOExceptionint getSockSndBufSize()
int getSockRcvBufSize()
void setSockSndBufSize(int aSockSndBufSize)
throws java.io.IOException
java.io.IOExceptionvoid setSockRcvBufSize(int aSockRcvBufSize)
throws java.io.IOException
java.io.IOExceptionint getSocketFD()
throws java.sql.SQLException
java.sql.SQLExceptionvoid setResponseTimeout(int aResponseTimeout)
throws java.sql.SQLException
java.sql.SQLException