| Package | com.adobe.photoshop.connection |
| Class | public class TransactionManager |
| Inheritance | TransactionManager Object |
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10 |
| Property | Defined By | ||
|---|---|---|---|
| inst : TransactionManager [static]
The instance of the TransactionManager
| TransactionManager | ||
| transactionID : int [write-only]
Sets the transaction ID, overriding the internal counter. | TransactionManager | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new TransactionManager, and sets the internal transaction counter to 0
| TransactionManager | ||
destroy():void
Cleans up this instance of the TransactionManager
| TransactionManager | ||
getCurrentTransactionID():int
Gets the current transaction ID. | TransactionManager | ||
[static]
Gets a singleton reference to a global transaction manager. | TransactionManager | ||
getNextTransactionID():int
Gets the next available transaction ID. | TransactionManager | ||
| inst | property |
public static var inst:TransactionManagerThe instance of the TransactionManager
| transactionID | property |
transactionID:int [write-only] Sets the transaction ID, overriding the internal counter.
public function set transactionID(value:int):void| TransactionManager | () | Constructor |
public function TransactionManager()Creates a new TransactionManager, and sets the internal transaction counter to 0
| destroy | () | method |
public function destroy():voidCleans up this instance of the TransactionManager
| getCurrentTransactionID | () | method |
public function getCurrentTransactionID():intGets the current transaction ID. In many cases, this ID will represent a message that's already been sent.
Returnsint — The current ID
|
| getInstance | () | method |
public static function getInstance():TransactionManagerGets a singleton reference to a global transaction manager.
ReturnsTransactionManager — A global, singleton-pattern TransactionManager instance
|
| getNextTransactionID | () | method |
public function getNextTransactionID():intGets the next available transaction ID.
Returnsint — The next transaction ID that can be used
|