CORBACurrent object (obsolete)

Obsolete object

CORBACurrent object is obsolete, because EAServer is no longer supported since PowerBuilder 2017.

The CORBACurrent service object provides information about the EAServer transaction associated with a calling thread and enables the caller to control the transaction. The CORBACurrent object supports most of the methods defined by the CORBACurrent interface.

Properties

CORBACurrent property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control


Events

CORBACurrent event

Occurs

Constructor

When the object is created

Destructor

When the object is destroyed


Functions

CORBACurrent function

Datatype returned

Description

BeginTransaction (obsolete)

Boolean

Creates a new transaction and associates it with the calling thread.

ClassName

String

Returns the class of the object.

CommitTransaction (obsolete)

Integer

Commits the transaction associated with the calling thread.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

GetStatus (obsolete)

Integer

Returns the status of the transaction associated with the calling thread.

GetTransactionName (obsolete)

String

Returns a string describing the transaction associated with the calling thread.

Init (obsolete)

Integer

Initializes an instance of the CORBACurrent service object.

PostEvent

Integer

Adds an event to the end of the message queue for the object.

ResumeTransaction (obsolete)

Integer

Associates the transaction passed in with the calling thread.

RollbackOnly (obsolete)

Integer

Modifies the transaction associated with the calling thread so that the outcome is to roll back the transaction.

RollbackTransaction (obsolete)

Integer

Rolls back the transaction associated with the calling thread.

SetTimeout (obsolete)

Boolean

Sets the timeout value for the top-level transaction. The transaction is rolled back if it does not complete before the timeout expires.

SuspendTransaction (obsolete)

Unsignedlong

Suspends the transaction associated with the calling thread and returns a handle to the transaction.

TriggerEvent

Integer

Triggers a specified event in the object and executes the script for the event.

TypeOf

Object

Returns the type of the object.