Updating protocol files for tests.
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
|
||||
package pokerth_protocol;
|
||||
//
|
||||
// This file was generated by the BinaryNotes compiler.
|
||||
// See http://bnotes.sourceforge.net
|
||||
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
|
||||
//
|
||||
|
||||
import org.bn.*;
|
||||
import org.bn.annotations.*;
|
||||
import org.bn.annotations.constraints.*;
|
||||
import org.bn.coders.*;
|
||||
import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1BoxedType ( name = "AmountOfMoney" )
|
||||
public class AmountOfMoney implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Integer( name = "AmountOfMoney" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
private Integer value;
|
||||
|
||||
public AmountOfMoney() {
|
||||
}
|
||||
|
||||
public AmountOfMoney(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public void setValue(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AmountOfMoney.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -23,31 +23,15 @@ import org.bn.types.*;
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "moneyWon", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer moneyWon = null;
|
||||
private AmountOfMoney moneyWon = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "playerMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer playerMoney = null;
|
||||
private AmountOfMoney playerMoney = null;
|
||||
|
||||
|
||||
|
||||
@@ -63,25 +47,25 @@ import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
public Integer getMoneyWon () {
|
||||
public AmountOfMoney getMoneyWon () {
|
||||
return this.moneyWon;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMoneyWon (Integer value) {
|
||||
public void setMoneyWon (AmountOfMoney value) {
|
||||
this.moneyWon = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getPlayerMoney () {
|
||||
public AmountOfMoney getPlayerMoney () {
|
||||
return this.playerMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerMoney (Integer value) {
|
||||
public void setPlayerMoney (AmountOfMoney value) {
|
||||
this.playerMoney = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
package pokerth_protocol;
|
||||
//
|
||||
// This file was generated by the BinaryNotes compiler.
|
||||
// See http://bnotes.sourceforge.net
|
||||
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
|
||||
//
|
||||
|
||||
import org.bn.*;
|
||||
import org.bn.annotations.*;
|
||||
import org.bn.annotations.constraints.*;
|
||||
import org.bn.coders.*;
|
||||
import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1BoxedType ( name = "InitialAmountOfMoney" )
|
||||
public class InitialAmountOfMoney implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Integer( name = "InitialAmountOfMoney" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 1000000L
|
||||
|
||||
)
|
||||
|
||||
private Integer value;
|
||||
|
||||
public InitialAmountOfMoney() {
|
||||
}
|
||||
|
||||
public InitialAmountOfMoney(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public void setValue(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(InitialAmountOfMoney.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
package pokerth_protocol;
|
||||
//
|
||||
// This file was generated by the BinaryNotes compiler.
|
||||
// See http://bnotes.sourceforge.net
|
||||
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
|
||||
//
|
||||
|
||||
import org.bn.*;
|
||||
import org.bn.annotations.*;
|
||||
import org.bn.annotations.constraints.*;
|
||||
import org.bn.coders.*;
|
||||
import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1BoxedType ( name = "InitialNonZeroAmountOfMoney" )
|
||||
public class InitialNonZeroAmountOfMoney implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Integer( name = "InitialNonZeroAmountOfMoney" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 1000000L
|
||||
|
||||
)
|
||||
|
||||
private Integer value;
|
||||
|
||||
public InitialNonZeroAmountOfMoney() {
|
||||
}
|
||||
|
||||
public InitialNonZeroAmountOfMoney(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public void setValue(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(InitialNonZeroAmountOfMoney.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -44,18 +44,10 @@ import org.bn.types.*;
|
||||
|
||||
private NetPlayerAction myAction = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "myRelativeBet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer myRelativeBet = null;
|
||||
private AmountOfMoney myRelativeBet = null;
|
||||
|
||||
|
||||
|
||||
@@ -107,13 +99,13 @@ import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
public Integer getMyRelativeBet () {
|
||||
public AmountOfMoney getMyRelativeBet () {
|
||||
return this.myRelativeBet;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMyRelativeBet (Integer value) {
|
||||
public void setMyRelativeBet (AmountOfMoney value) {
|
||||
this.myRelativeBet = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -295,34 +295,17 @@ import org.bn.types.*;
|
||||
|
||||
private Integer firstSmallBlind = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 1000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "endRaiseSmallBlindValue", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer endRaiseSmallBlindValue = null;
|
||||
private InitialAmountOfMoney endRaiseSmallBlindValue = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 1000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "startMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer startMoney = null;
|
||||
private InitialNonZeroAmountOfMoney startMoney = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
|
||||
|
||||
@ASN1SequenceOf( name = "manualBlinds", isSetOf = false )
|
||||
|
||||
@ASN1ValueRangeConstraint (
|
||||
@@ -335,7 +318,7 @@ import org.bn.types.*;
|
||||
|
||||
@ASN1Element ( name = "manualBlinds", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private java.util.Collection<Integer> manualBlinds = null;
|
||||
private java.util.Collection<InitialNonZeroAmountOfMoney> manualBlinds = null;
|
||||
|
||||
|
||||
|
||||
@@ -447,37 +430,37 @@ import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
public Integer getEndRaiseSmallBlindValue () {
|
||||
public InitialAmountOfMoney getEndRaiseSmallBlindValue () {
|
||||
return this.endRaiseSmallBlindValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setEndRaiseSmallBlindValue (Integer value) {
|
||||
public void setEndRaiseSmallBlindValue (InitialAmountOfMoney value) {
|
||||
this.endRaiseSmallBlindValue = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getStartMoney () {
|
||||
public InitialNonZeroAmountOfMoney getStartMoney () {
|
||||
return this.startMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setStartMoney (Integer value) {
|
||||
public void setStartMoney (InitialNonZeroAmountOfMoney value) {
|
||||
this.startMoney = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public java.util.Collection<Integer> getManualBlinds () {
|
||||
public java.util.Collection<InitialNonZeroAmountOfMoney> getManualBlinds () {
|
||||
return this.manualBlinds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setManualBlinds (java.util.Collection<Integer> value) {
|
||||
public void setManualBlinds (java.util.Collection<InitialNonZeroAmountOfMoney> value) {
|
||||
this.manualBlinds = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -50,31 +50,15 @@ import org.bn.types.*;
|
||||
|
||||
private Long cardsValue = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "moneyWon", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer moneyWon = null;
|
||||
private AmountOfMoney moneyWon = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "playerMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer playerMoney = null;
|
||||
private AmountOfMoney playerMoney = null;
|
||||
|
||||
|
||||
|
||||
@@ -138,25 +122,25 @@ import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
public Integer getMoneyWon () {
|
||||
public AmountOfMoney getMoneyWon () {
|
||||
return this.moneyWon;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMoneyWon (Integer value) {
|
||||
public void setMoneyWon (AmountOfMoney value) {
|
||||
this.moneyWon = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getPlayerMoney () {
|
||||
public AmountOfMoney getPlayerMoney () {
|
||||
return this.playerMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerMoney (Integer value) {
|
||||
public void setPlayerMoney (AmountOfMoney value) {
|
||||
this.playerMoney = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -44,57 +44,25 @@ import org.bn.types.*;
|
||||
|
||||
private NetPlayerAction playerAction = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "totalPlayerBet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer totalPlayerBet = null;
|
||||
private AmountOfMoney totalPlayerBet = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "playerMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer playerMoney = null;
|
||||
private AmountOfMoney playerMoney = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "highestSet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer highestSet = null;
|
||||
private AmountOfMoney highestSet = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "minimumRaise", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer minimumRaise = null;
|
||||
private AmountOfMoney minimumRaise = null;
|
||||
|
||||
|
||||
|
||||
@@ -146,49 +114,49 @@ import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
public Integer getTotalPlayerBet () {
|
||||
public AmountOfMoney getTotalPlayerBet () {
|
||||
return this.totalPlayerBet;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setTotalPlayerBet (Integer value) {
|
||||
public void setTotalPlayerBet (AmountOfMoney value) {
|
||||
this.totalPlayerBet = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getPlayerMoney () {
|
||||
public AmountOfMoney getPlayerMoney () {
|
||||
return this.playerMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerMoney (Integer value) {
|
||||
public void setPlayerMoney (AmountOfMoney value) {
|
||||
this.playerMoney = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getHighestSet () {
|
||||
public AmountOfMoney getHighestSet () {
|
||||
return this.highestSet;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setHighestSet (Integer value) {
|
||||
public void setHighestSet (AmountOfMoney value) {
|
||||
this.highestSet = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getMinimumRaise () {
|
||||
public AmountOfMoney getMinimumRaise () {
|
||||
return this.minimumRaise;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMinimumRaise (Integer value) {
|
||||
public void setMinimumRaise (AmountOfMoney value) {
|
||||
this.minimumRaise = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,18 +23,10 @@ import org.bn.types.*;
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "playerMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer playerMoney = null;
|
||||
private AmountOfMoney playerMoney = null;
|
||||
|
||||
|
||||
|
||||
@@ -50,13 +42,13 @@ import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
public Integer getPlayerMoney () {
|
||||
public AmountOfMoney getPlayerMoney () {
|
||||
return this.playerMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerMoney (Integer value) {
|
||||
public void setPlayerMoney (AmountOfMoney value) {
|
||||
this.playerMoney = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -39,18 +39,10 @@ import org.bn.types.*;
|
||||
|
||||
private NetPlayerAction yourAction = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
|
||||
@ASN1Element ( name = "yourRelativeBet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer yourRelativeBet = null;
|
||||
private AmountOfMoney yourRelativeBet = null;
|
||||
|
||||
|
||||
|
||||
@@ -140,13 +132,13 @@ import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
public Integer getYourRelativeBet () {
|
||||
public AmountOfMoney getYourRelativeBet () {
|
||||
return this.yourRelativeBet;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setYourRelativeBet (Integer value) {
|
||||
public void setYourRelativeBet (AmountOfMoney value) {
|
||||
this.yourRelativeBet = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user