|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.SPAbstractTransactionAPIClass
com.SecurePlay.SPTShip.SPTShipAPIClass
This is the API Class of SPSHipClass.
![]() |
![]() |
| Field Summary | |
protected SPTShipClass |
transactioninstance
Instance of SPAbstractTransactionClass (SPSHipClass) |
| Constructor Summary | |
SPTShipAPIClass(SPTShipClass ship)
Constructor |
|
| Method Summary | |
boolean |
APIconfigureTransaction(java.lang.String sender,
boolean AckFlag,
boolean ManFlag,
int bsize,
long tsize,
java.lang.String classname,
java.lang.String instname,
byte[] entireshipment)
Configure transaction method. |
boolean |
APIconfigureTransaction(java.lang.String sender,
boolean AckFlag,
int bsize,
long tsize,
java.lang.String classname,
java.lang.String instname)
Configure transaction method. |
boolean |
APIrequestConfigureTransaction(java.lang.String sender,
boolean AckFlag,
boolean ManFlag,
int bsize,
long tsize,
java.lang.String classname,
java.lang.String instname,
byte[] entireshipment)
Configure transaction method. |
boolean |
APIrequestConfigureTransaction(java.lang.String sender,
boolean AckFlag,
int bsize,
long tsize,
java.lang.String classname,
java.lang.String instname)
Configure transaction method. |
boolean |
APIrequestsendShipment(java.lang.String sender)
This method requests send shipments automatically. |
boolean |
APIrequestsendShipment(java.lang.String sender,
byte[] manualShip)
This method requests sends a shipment manually. |
boolean |
APIresendShipment(java.lang.String sender,
int shipcount,
java.lang.String[] recieverIdList)
This shipment sends the specified shipment, grabbed from the last sent list using the shipment number, to the specified players. |
boolean |
APIsendShipment(java.lang.String sender)
This method send shipments automatically. |
boolean |
APIsendShipment(java.lang.String sender,
byte[] manualShip)
This method sends a shipment manually. |
boolean |
rulesrequestSendshipment(java.lang.String pid,
SPAbstractTransactionInterface transobj)
This shell method determines if an existing transaction object can be used to send shipments from a remote request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected SPTShipClass transactioninstance
| Constructor Detail |
public SPTShipAPIClass(SPTShipClass ship)
ship - SPSHipClass - the ship class associate with this API.| Method Detail |
public boolean APIconfigureTransaction(java.lang.String sender,
boolean AckFlag,
int bsize,
long tsize,
java.lang.String classname,
java.lang.String instname)
sender - String - player id who is configuring this transaction.AckFlag - boolean - acknowledgement flag, flag whether or not achknowledgements should be expected before next send of the shipment.bsize - int - buffer size.tsize - long - total size. (NOTE: the total size is limited by the size of the int, because array types can only support ints as index.)classname - String - class name.instname - String - instance name.
public boolean APIconfigureTransaction(java.lang.String sender,
boolean AckFlag,
boolean ManFlag,
int bsize,
long tsize,
java.lang.String classname,
java.lang.String instname,
byte[] entireshipment)
sender - String - player id who is configuring this transaction.AckFlag - boolean - acknowledgement flag, flag whether or not achknowledgements should be expected before next send of the shipment.ManFlag - boolean - manual flag, flag for manual or automatic shipment sending.bsize - int - buffer size.tsize - long - total size. (NOTE: the total size is limited by the size of the int, because array types can only support ints as index.)classname - String - class name.instname - String - instance name.entireshipment - byte[] - the entire shipment.
public boolean APIrequestConfigureTransaction(java.lang.String sender,
boolean AckFlag,
int bsize,
long tsize,
java.lang.String classname,
java.lang.String instname)
sender - String - player id who is configuring this transaction.AckFlag - boolean - acknowledgement flag, flag whether or not achknowledgements should be expected before next send of the shipment.bsize - int - buffer size.tsize - long - total size. (NOTE: the total size is limited by the size of the int, because array types can only support ints as index.)classname - String - class name.instname - String - instance name.
public boolean APIrequestConfigureTransaction(java.lang.String sender,
boolean AckFlag,
boolean ManFlag,
int bsize,
long tsize,
java.lang.String classname,
java.lang.String instname,
byte[] entireshipment)
sender - String - player id who is configuring this transaction.AckFlag - boolean - acknowledgement flag, flag whether or not achknowledgements should be expected before next send of the shipment.ManFlag - boolean - manual flag, flag for manual or automatic shipment sending.bsize - int - buffer size.tsize - long - total size. (NOTE: the total size is limited by the size of the int, because array types can only support ints as index.)classname - String - class name.instname - String - instance name.entireshipment - byte[] - the entire shipment.
public boolean APIsendShipment(java.lang.String sender,
byte[] manualShip)
sender - String - sender of this shipment (master of the transaction)manualShip - byte[] - the shipment to be sent.
public boolean APIsendShipment(java.lang.String sender)
sender - String - sender of this shipment.
public boolean APIrequestsendShipment(java.lang.String sender,
byte[] manualShip)
sender - String - sender of this shipment (master of the transaction)manualShip - byte[] - the shipment to be sent.
public boolean APIrequestsendShipment(java.lang.String sender)
sender - String - sender of this shipment.
public boolean APIresendShipment(java.lang.String sender,
int shipcount,
java.lang.String[] recieverIdList)
sender - shipcount - recieverIdList -
public boolean rulesrequestSendshipment(java.lang.String pid,
SPAbstractTransactionInterface transobj)
pid - String - player idtransobj - - SPAbstractTransationInterface - the transaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||