| CORBA Definitions | |
| attribute Id | |
| attribute Parent | |
| method Close | |
| method Connect | |
| method CreateStatement | |
| method CreateStatementWithAttrs | |
| method Disconnect | |
| method DriverConnect | |
| method EndTran | |
| method GetAttr | |
| method GetAttrs | |
| method GetDiagFields | |
| method GetDiagRecs | |
| method GetFunctions | |
| method GetInformation | |
| method SetAttr | |
| method SetAttrs | |
| Java Classes | |
| IConnectionHelper | Used to manipulate the IConnection type |
| IConnectionHolder | Used to process the IConnection type as an out parameter |
| Java Interfaces | |
| IConnection | |
| Java Interface IConnection |
Package com.sas.iom.SASTableServer
IConnection Description
public interface IConnection
extends org.omg.CORBA.Object
Method Summary
| void | Close
()
|
| void | Connect
(
java.lang.String serverName ,
java.lang.String userName ,
java.lang.String authentication ,
org.omg.CORBA.IntHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, GenericError ); |
| IStatement | CreateStatement
(
org.omg.CORBA.IntHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, GenericError ); |
| IStatement | CreateStatementWithAttrs
(
int[] attrs ,
int[] indicators ,
any[] values ,
IntSeqHolder attrStatus
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, GenericError ); |
| void | Disconnect
(
org.omg.CORBA.IntHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, GenericError ); |
| java.lang.String | DriverConnect
(
java.lang.String inConnectionString ,
DriverCompletionOptions driverCompletion ,
int bufferLength ,
org.omg.CORBA.IntHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, TKTS_NO_DATA, GenericError ); |
| void | EndTran
(
int completionType ,
org.omg.CORBA.IntHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, GenericError ); |
| void | GetAttr
(
int attr ,
int indicator ,
org.omg.CORBA.AnyHolder value ,
org.omg.CORBA.IntHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, GenericError ); |
| void | GetAttrs
(
int[] attrs ,
int[] indicators ,
AnySeqHolder values ,
IntSeqHolder status
)
throws ( GenericError ); |
| void | GetDiagFields
(
int[] recNumbers ,
int[] diagIdentifiers ,
int[] diagIndicators ,
AnySeqHolder values ,
VariableArray2dOfIntHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, TKTS_NO_DATA, GenericError ); |
| void | GetDiagRecs
(
int[] recNumbers ,
StringSeqHolder sqlstates ,
IntSeqHolder nativeErrors ,
StringSeqHolder messageTexts ,
IntSeqHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, TKTS_NO_DATA, GenericError ); |
| void | GetFunctions
(
int functionId ,
IntSeqHolder supported ,
org.omg.CORBA.IntHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, GenericError ); |
| void | GetInformation
(
int[] infoTypes ,
int[] infoIndicators ,
AnySeqHolder infoValues ,
IntSeqHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, GenericError ); |
| void | SetAttr
(
int attr ,
int indicator ,
any value ,
org.omg.CORBA.IntHolder status
)
throws ( TKTS_ERROR, TKTS_INVALID_HANDLE, GenericError ); |
| void | SetAttrs
(
int[] attrs ,
int[] indicators ,
any[] values ,
IntSeqHolder status
)
throws ( GenericError ); |
| Java Class IConnectionHelper |
public class IConnectionHelper
Description
Implementing class for methods (insert, extract, type, id, read, write, narrow) used to manipulate the
IConnection type.
java.lang.Object | +--com.sas.iom.SAS.IConnectionHelper
| Java Class IConnectionHolder |
public class IConnectionHolder
Description
Implementing class for methods (_read, _write, _type) used to process the
IConnection type as an out parameter.
java.lang.Object | +--com.sas.iom.SAS.IConnectionHolder
| CORBA Attribute Id (readonly) |
Description
Usage
| Java Method Id |
public long Id ();
| CORBA Attribute Parent (readonly) |
Description
Usage
| Java Method Parent |
public IEnvironment Parent ();
| CORBA Method Close |
Description
Usage
| Java Method Close |
void Close (
)
Example
| CORBA Method Connect |
Description
Usage
| Java Method Connect |
void Connect (
java.lang.String serverName ,
java.lang.String userName ,
java.lang.String authentication ,
org.omg.CORBA.IntHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| serverName | in | java.lang.String | |
| userName | in | java.lang.String | |
| authentication | in | java.lang.String | |
| status | out | org.omg.CORBA.IntHolder |
Example
| CORBA Method CreateStatement |
Description
Usage
| Java Method CreateStatement |
public IStatement CreateStatement (
org.omg.CORBA.IntHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| status | out | org.omg.CORBA.IntHolder |
Example
| CORBA Method CreateStatementWithAttrs |
Description
Usage
| Java Method CreateStatementWithAttrs |
public IStatement CreateStatementWithAttrs (
int[] attrs ,
int[] indicators ,
any[] values ,
IntSeqHolder attrStatus
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| attrs | in | int[] | |
| indicators | in | int[] | |
| values | in | any[] | |
| attrStatus | out | IntSeqHolder |
Example
| CORBA Method Disconnect |
Description
Usage
| Java Method Disconnect |
void Disconnect (
org.omg.CORBA.IntHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| status | out | org.omg.CORBA.IntHolder |
Example
| CORBA Method DriverConnect |
Description
Usage
| Java Method DriverConnect |
java.lang.String DriverConnect (
java.lang.String inConnectionString ,
DriverCompletionOptions driverCompletion ,
int bufferLength ,
org.omg.CORBA.IntHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
TKTS_NO_DATA,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| inConnectionString | in | java.lang.String | |
| driverCompletion | in | DriverCompletionOptions | |
| bufferLength | in | int | |
| status | out | org.omg.CORBA.IntHolder |
Example
| CORBA Method EndTran |
Description
Usage
| Java Method EndTran |
void EndTran (
int completionType ,
org.omg.CORBA.IntHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| completionType | in | int | |
| status | out | org.omg.CORBA.IntHolder |
Example
| CORBA Method GetAttr |
Description
Usage
| Java Method GetAttr |
void GetAttr (
int attr ,
int indicator ,
org.omg.CORBA.AnyHolder value ,
org.omg.CORBA.IntHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| attr | in | int | |
| indicator | in | int | |
| value | out | org.omg.CORBA.AnyHolder | |
| status | out | org.omg.CORBA.IntHolder |
Example
| CORBA Method GetAttrs |
Description
Usage
| Java Method GetAttrs |
void GetAttrs (
int[] attrs ,
int[] indicators ,
AnySeqHolder values ,
IntSeqHolder status
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| attrs | in | int[] | |
| indicators | in | int[] | |
| values | out | AnySeqHolder | |
| status | out | IntSeqHolder |
Example
| CORBA Method GetDiagFields |
Description
Usage
| Java Method GetDiagFields |
void GetDiagFields (
int[] recNumbers ,
int[] diagIdentifiers ,
int[] diagIndicators ,
AnySeqHolder values ,
VariableArray2dOfIntHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
TKTS_NO_DATA,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| recNumbers | in | int[] | |
| diagIdentifiers | in | int[] | |
| diagIndicators | in | int[] | |
| values | out | AnySeqHolder | |
| status | out | VariableArray2dOfIntHolder |
Example
| CORBA Method GetDiagRecs |
Description
Usage
| Java Method GetDiagRecs |
void GetDiagRecs (
int[] recNumbers ,
StringSeqHolder sqlstates ,
IntSeqHolder nativeErrors ,
StringSeqHolder messageTexts ,
IntSeqHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
TKTS_NO_DATA,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| recNumbers | in | int[] | |
| sqlstates | out | StringSeqHolder | |
| nativeErrors | out | IntSeqHolder | |
| messageTexts | out | StringSeqHolder | |
| status | out | IntSeqHolder |
Example
| CORBA Method GetFunctions |
Description
Usage
| Java Method GetFunctions |
void GetFunctions (
int functionId ,
IntSeqHolder supported ,
org.omg.CORBA.IntHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| functionId | in | int | |
| supported | out | IntSeqHolder | |
| status | out | org.omg.CORBA.IntHolder |
Example
| CORBA Method GetInformation |
Description
Usage
| Java Method GetInformation |
void GetInformation (
int[] infoTypes ,
int[] infoIndicators ,
AnySeqHolder infoValues ,
IntSeqHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| infoTypes | in | int[] | |
| infoIndicators | in | int[] | |
| infoValues | out | AnySeqHolder | |
| status | out | IntSeqHolder |
Example
| CORBA Method SetAttr |
Description
Usage
| Java Method SetAttr |
void SetAttr (
int attr ,
int indicator ,
any value ,
org.omg.CORBA.IntHolder status
)
throws (
TKTS_ERROR,
TKTS_INVALID_HANDLE,
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| attr | in | int | |
| indicator | in | int | |
| value | in | any | |
| status | out | org.omg.CORBA.IntHolder |
Example
| CORBA Method SetAttrs |
Description
Usage
| Java Method SetAttrs |
void SetAttrs (
int[] attrs ,
int[] indicators ,
any[] values ,
IntSeqHolder status
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| attrs | in | int[] | |
| indicators | in | int[] | |
| values | in | any[] | |
| status | out | IntSeqHolder |
Example