public HeleusClientResponse(HeleusClientResultTypes resultType, TransactionResultTypes transactionResult, long userCode) { ResultType = resultType; TransactionResult = transactionResult; Transaction = null; UserCode = userCode; }
public TransactionValidationResult(TransactionResultTypes resultType, long usercode, string message, TransactionValidation nodeValidation) { Result = resultType; UserCode = usercode; Message = message; TransactionValidation = nodeValidation; }
public HeleusClientResponse(HeleusClientResultTypes resultType, TransactionResultTypes transactionResult, Operation operation, long userCode) { ResultType = resultType; TransactionResult = transactionResult; Transaction = operation; UserCode = userCode; }
public ClientAttachementsResponseMessage(ClientAttachementsRequestMessage requestMessage, TransactionResultTypes transactionResultType, long userCode, int attachementKey) : this() { ResultType = transactionResultType; SetRequestCode(requestMessage.RequestCode); AttachementKey = attachementKey; UserCode = userCode; }
public HeleusClientResponse(HeleusClientResultTypes resultType, long userCode) { ResultType = resultType; UserCode = userCode; TransactionResult = TransactionResultTypes.Unknown; Transaction = null; }
public ClientTransactionResponseMessage(long requestCode, TransactionResultTypes resultType, Operation operation) : this() { ResultType = resultType; Operation = operation; SetRequestCode(requestCode); if (ResultType == TransactionResultTypes.Ok && Operation == null) { throw new ArgumentException(nameof(resultType)); } if (ResultType != TransactionResultTypes.Ok && Operation != null) { throw new ArgumentException(nameof(resultType)); } }
static string GetResultCode(TransactionResultTypes resultType, long userCode) { return(((int)resultType).ToString() + "," + userCode); }
public HeleusClientResponse(HeleusClientResultTypes resultType) { ResultType = resultType; TransactionResult = TransactionResultTypes.Unknown; Transaction = null; }
public HeleusClientUserResult(Unpacker unpacker) { Result = (TransactionResultTypes)unpacker.UnpackShort(); unpacker.Unpack(out UserCode); }
public HeleusClientUserResult(TransactionResultTypes resultType, long userCode) { Result = resultType; UserCode = userCode; }
public ClientTransactionResponseMessage(long requestCode, long userResultCode, string message, TransactionResultTypes resultType, Operation operation) : this(requestCode, resultType, operation) { UserCode = userResultCode; Message = message; }