#include <SPTShipClass.h>
Inheritance diagram for SecurePlayLibrary::SPTShipClass:

Public Member Functions | |
| SPTShipClass () | |
| ~SPTShipClass () | |
| SPTShipClass::SPTShipClass (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool privateflag, string transactionID) | |
| bool | APIconfigureTransaction (string sender, bool AckFlag, bool ManFlag, int bsize, long tsize, string classname, string instname) |
| bool | APIconfigureTransaction (string sender, bool AckFlag, bool ManFlag, int bsize, long tsize, string classname, string instname, vector< byte > entireshipment) |
| bool | APIrequestConfigureTransaction (string sender, bool AckFlag, bool ManFlag, int bsize, long tsize, string classname, string instname) |
| bool | APIrequestConfigureTransaction (string sender, bool AckFlag, bool ManFlag, int bsize, long tsize, string classname, string instname, vector< byte > entireshipment) |
| bool | configureTransaction (string sender, bool AckFlag, bool ManFlag, int bsize, long tsize, string classname, string instname) |
| bool | SPTShipClass::APIsendShipment (string sender, vector< byte > manualShip) |
| bool | SPTShipClass::onsendShipment (SPMessageClass *mess) |
Static Public Member Functions | |
| string | gettranstype () |
Protected Member Functions | |
| bool | onconfigureTransaction (SPMessageClass *incoming) |
| void | SPTShipClass::onrequestconfigureTransaction (SPMessageClass *incoming) |
Private Attributes | |
| bool | entireShipmentFLAG |
| bool | acknowledgeFLAG |
| bool | manualSendFLAG |
| int | buffersize |
| vector< byte > | shipment |
| long | totalSize |
| string | ShippedObjectClass |
| string | ShippedObjectDistinguishedName |
| vector< string > | AckList |
| bool | CompleteFlag |
| bool | SendOKFlag |
| int | maxReceiveSendStore |
| map< int, vector< byte > * > | lastReceivedSent |
| int | shipcount |
| int | lastRecSent |
| long | totalRecSent |
|
|
Default Constructor. |
|
|
Default Destructor |
|
||||||||||||||||||||||||||||||||||||
|
Configure transaction method. This method configures with the entire shipment set. Because entire shipment is set the manual flag can be either true or false.
|
|
||||||||||||||||||||||||||||||||
|
Configure transaction method. This method configures without the entire shipment set. Because entire shipment is not set manual flag is set to true.
|
|
||||||||||||||||||||||||||||||||||||
|
Configure transaction method. This method requests to configures with the entire shipment set. Because entire shipment is set the manual flag can be either true or false.
|
|
||||||||||||||||||||||||||||||||
|
Configure transaction method. This method requests to configures without the entire shipment set. Because entire shipment is not set manual flag is set to true.
|
|
||||||||||||||||||||||||||||||||
|
This method just sets the configure parameter of this class much like a setter function. It is used by the configure methods.
|
|
|
This method gets the transaction type.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method configures this transaction when a configure transaction message is recieved.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
||||||||||||
|
This method sends a shipment manually.
|
|
|
This method safely handles a request from a player who is not the Transaction master to configure the transaction.
|
|
|
This method recieves shipmetns. It sends acknowledgements to the sender.
|
|
||||||||||||||||||||||||
|
Construcotr.
|
|
|
This holds the list of SUCCESSFUL acknowledge messages for the current shipment |
|
|
This flag determines whether sent packages need to be acknowledged. |
|
|
This property determines the maximum size of the shipment that is sent at one time. If it is set to equal 0, then nothing is stored and all is sent. NOTE: does not make sense to set it to if you are in manual mode, works only with automatic mode. |
|
|
Flag to indicate shipment complete |
|
|
This flag indicates whether or not entire shipment is stored. |
|
|
This stores the last recieved acknowledgement. This can be stored in Array of byte arrays. |
|
|
This value holds the last shipment part number sent. |
|
|
This flag determines whether MANUAL send is in use. (TRUE: Manual; FALSE: Automatic) |
|
|
Maximum acknowledged messages receivecount. |
|
|
Flag, ready to send |
|
|
This value holds the number of shipments SUCCESSFULLY SENT! |
|
|
This holds the currently active/sent shipment - it is held until all Acks are received |
|
|
This is the name of the Class that Shipped Object is from. |
|
|
This is the senders unique name for the class (optional) |
|
|
This value holds the total number of bytes recieved or sent. NOTE: the total size is limited by the size of the int, because array types can only support ints as index. |
|
|
This value holds the total size of shipment. NOTE: the total size is limited by the size of the int, because array types can only support ints as index. |