![]() |
![]() |
|
|
T_BRIDGE CLASS
Overview
The T_BRIDGE class represents run-time attributes pertaining to connectivity between logical machines making up an application. These attribute values represent connection status and statistics.
Attribute Table
Attribute1 |
Type |
Permissions |
Values |
Default |
---|---|---|---|---|
TA_LMID( * )2 |
string |
r--r--r-- |
"LMID1[,LMID2]" |
N/A |
TA_NETGROUP(k)3 |
string |
R--R--R-- |
"string[1. . . 30]" |
DEFAULTNET |
TA_STATE( k ) |
string |
rwxrwxr-- |
GET:"{ACT|INA|SUS|PEN}" SET:"{ACT|INA|SUS|PEN}" |
N/A N/A |
TA_CURTIME |
long |
R--R--R-- |
0 <= num |
N/A |
TA_CONTIME |
long |
R-XR-XR-- |
0 <= num |
N/A |
TA_SUSPTIME |
long |
rwxrwxr-- |
0 <= num |
3004 |
TA_RCVDBYT |
long |
R-XR-XR-- |
0 <= num |
N/A |
TA_SENTBYT |
long |
R-XR-XR-- |
0 <= num |
N/A |
TA_RCVDNUM |
long |
R-XR-XR-- |
0 <= num |
N/A |
TA_SENTNUM |
long |
R-XR-XR-- |
0 <= num |
N/A |
TA_FLOWCNT |
long |
R-XR-XR-- |
0 <= num |
N/A |
TA_CURENCRYPTBIT |
string |
R--R----- |
{ 0 | 40 | 128 } |
N/A |
|
1All attributes in Class T_BRIDGE are local attributes.
2The TA_LMID attribute must be fully specified for SET operations, that is, LMID1,LMID2.
3SET operation may only use TA_NETGROUP DEFAULTNET in Release 6.4. GET operation may use any TA_NETGROUP defined for both LMID values.
4TA_SUSPTIME may be SET only if the TA_STATE is currently SUSPENDED or is being SET to SUSPENDED.
Attribute Semantics
ACTive |
The connection is established and active. |
INActive |
The connection is inactive. This state is only returned when status is requested on a particular connection, that is, both Lands specified in the TA_LMID attribute and the source logical machine is reachable. |
SUSpended |
An established connection was terminated due to an error condition, and reconnection has been suspended for at least the amount of time indicated in the TA_SUSPTIME attribute value. This state is ACTive equivalent for the purpose of determining permissions. |
PENding |
An asynchronous connection has been requested, but has not yet been completed. The final outcome of the connection request has not been determined. |
unset |
Modify an existing T_BRIDGE object. This combination is allowed only when in the ACTive or SUSpended state. Successful return leaves the object state unchanged. |
ACTive |
Activate the T_BRIDGE object by establishing a connection between the indicated logical machines. This operation will fail if only one logical machine is specified, if either of the two machines is not active, or if the source logical machine is not reachable. While the T_BRIDGE object is establishing the asynchronous connection, the BRIDGE will do other work. Using the state change to PENding is recommended. State change allowed in the INActive and SUSpended states. For the purpose of determining permissions for this state transition, the active object permissions are considered (that is, --x--x--x). Successful return leaves the object in the PENding state. |
INActive |
Deactivate the T_BRIDGE object by closing the connection between the indicated logical machines. This operation will fail if only one logical machine is specified or if the two machines are not connected. State change allowed only when in the ACTive state. Successful return leaves the object in the INActive state. |
SUSpended |
Suspend the T_BRIDGE object by closing the connection between the indicated logical machines and by setting the TA_SUSPTIME parameter as indicated. State change allowed only when in the ACTive state. Successful return leaves the object in the SUSpended state. Limitation: Note that since the statistics reported are from the viewpoint of the source logical machine, resetting those statistics will cause them to be out of sync with the statistics reported by the destination logical machine for the same connection. |
PENding |
Activate the T_BRIDGE object by establishing an asynchronous connection between the indicated logical machines. This operation will fail if only one logical machine is specified, if either of the two machines is not active, or if the source machine is not reachable. When in the PENding state, the success or failure of the connection request has not yet been determined. However, the BRIDGE may continue to process other events and data while the connection is outstanding. State change allowed in the INActive and SUSpended states. For the purpose of determining permissions for this state transition, the active object permissions are considered (that is, --x--x--x). Successful return leaves the object in the PENding state. |
Limitations
None.
![]() |
![]() |
![]() |
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|