Package | com.adobe.photoshop.connection |
Class | public class TransactionManager |
Inheritance | TransactionManager ![]() |
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:TransactionManager
The 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():void
Cleans up this instance of the TransactionManager
getCurrentTransactionID | () | method |
public function getCurrentTransactionID():int
Gets 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():TransactionManager
Gets a singleton reference to a global transaction manager.
ReturnsTransactionManager — A global, singleton-pattern TransactionManager instance
|
getNextTransactionID | () | method |
public function getNextTransactionID():int
Gets the next available transaction ID.
Returnsint — The next transaction ID that can be used
|