Пример #1
0
 public static byte[] Rejected(RejectionCode Reason)
 {
     byte[] ConnectedEx = new byte[32];
     Writer.WriteUInt16((UInt16)(ConnectedEx.Length), 0, ConnectedEx);
     Writer.WriteUInt16(1055, 2, ConnectedEx);
     Writer.WriteUInt32((UInt32)Reason, 8, ConnectedEx);
     return(ConnectedEx);
 }
Пример #2
0
        protected NeuraliumRejectionCodes()
        {
            this.INSUFFICIENT_BALANCE = this.CreateChildConstant();
            this.NEGATIVE_AMOUNT      = this.CreateChildConstant();
            this.ZERO_AMOUNT          = this.CreateChildConstant();
            this.NEGATIVE_TIP         = this.CreateChildConstant();

            //this.PrintValues(";");
        }
Пример #3
0
 public ApiRejectionException(RejectionCode rejectionCode, string rejectionDescription) : base(rejectionDescription)
 {
     RejectionCode = rejectionCode;
 }