| Modifier and Type | Field and Description |
|---|---|
| private NetConnection |
| Access | Constructor and Description |
|---|---|
| public | NetXAConnection(LogWriter
LogWriter object associated with this connection logWriter, String user id for this connection user, String password for this connection password, BasicClientDataSource The DataSource object passed from the ClientXAConnection
object from which this constructor was called dataSource, int The Resource manager ID for XA Connections rmId, boolean true if this is a XA connection isXAConn, ClientPooledConnection The ClientPooledConnection object from which this
NetConnection constructor was called. This is used
to pass StatementEvents back to the pooledConnection
object cpc)The construcor for the NetXAConnection. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private NetConnection | Returns: NetConnectionLogWriter object associated with this connection logWriter, String user id for this connection user, String password for this connection password, BasicClientDataSource The DataSource object passed from the ClientXAConnection
object from which this constructor was called dataSource, int The Resource manager ID for XA Connections rmId, boolean true if this is a XA connection isXAConn, ClientPooledConnection The ClientPooledConnection object from which this
NetConnection constructor was called. This is used
to pass StatementEvents back to the pooledConnection
object cpc)Creates NetConnection for the supported version of jdbc. |
| public NetConnection | |
| pack-priv void | |
| private void | |
| private void | |
| pack-priv void | |
| public void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| private void | |
| pack-priv void | |
| pack-priv void |
| netCon | back to summary |
|---|---|
| private NetConnection netCon | |
| NetXAConnection | back to summary |
|---|---|
| public NetXAConnection(LogWriter logWriter, String user, String password, BasicClientDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc) throws SqlException The construcor for the NetXAConnection. The parameter
is set to
| |
| checkPlatformVersion | back to summary |
|---|---|
| private void checkPlatformVersion() throws SqlException | |
| createNetConnection | back to summary |
|---|---|
| private NetConnection createNetConnection(LogWriter logWriter, String user, String password, BasicClientDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc) throws SqlException Creates NetConnection for the supported version of jdbc. This method can be overwritten to return NetConnection of the supported jdbc version.
| |
| getNetConnection | back to summary |
|---|---|
| public NetConnection getNetConnection() Returns underlying net connection
| |
| readCommit | back to summary |
|---|---|
| pack-priv void readCommit() throws SqlException | |
| readLocalXACommit_ | back to summary |
|---|---|
| private void readLocalXACommit_() throws SqlException | |
| readLocalXARollback_ | back to summary |
|---|---|
| private void readLocalXARollback_() throws SqlException | |
| readRollback | back to summary |
|---|---|
| pack-priv void readRollback() throws SqlException | |
| setCorrelatorToken | back to summary |
|---|---|
| public void setCorrelatorToken(byte[] crttoken) | |
| setNetXAResource | back to summary |
|---|---|
| pack-priv void setNetXAResource(NetXAResource xares) | |
| writeCommit | back to summary |
|---|---|
| pack-priv void writeCommit() throws SqlException | |
| writeLocalXACommit_ | back to summary |
|---|---|
| private void writeLocalXACommit_() throws SqlException | |
| writeLocalXARollback_ | back to summary |
|---|---|
| private void writeLocalXARollback_() throws SqlException | |
| writeRollback | back to summary |
|---|---|
| pack-priv void writeRollback() throws SqlException | |
| writeTransactionStart | back to summary |
|---|---|
| pack-priv void writeTransactionStart(ClientStatement statement) throws SqlException | |