public RpcCall(RpcProgramHeader programHeader, UInt32 procedure, RpcCredentials credentials, RpcVerifier verifier) : base(memberSerializers) { this.programHeader = programHeader; this.procedure = procedure; this.credentials = credentials; this.verifier = verifier; }
public RpcTcpClientConnection(Socket socket, RpcProgramHeader programHeader, RpcCredentials credentials, RpcVerifier verifier) { this.socket = socket; this.programHeader = programHeader; this.credentials = credentials; this.verifier = verifier; this.nextTransactionID = 0; }
public RpcAcceptedReply(RpcVerifier verifier, RpcAcceptStatus status) : base(memberSerializers) { if (status == RpcAcceptStatus.Success) { throw new ArgumentOutOfRangeException("[FunctionMisuse] This constructor is meant to create an Rpc reply to indicate an error but you passed the success value?"); } if (status == RpcAcceptStatus.ProgramMismatch) { throw new ArgumentOutOfRangeException("[FunctionMisuse] This constructor is not meant to create a program mismatch error"); } this.verifier = verifier; this.status = status; }
public RpcReply(RpcVerifier verifier, RpcAcceptStatus acceptErrorStatus) : base(memberSerializers) { this.status = RpcReplyStatus.Accepted; this.acceptedReply = new RpcAcceptedReply(verifier, acceptErrorStatus); }
public RpcReply(RpcVerifier verifier) : base(memberSerializers) { this.status = RpcReplyStatus.Accepted; this.acceptedReply = new RpcAcceptedReply(RpcVerifier.None); }
public RpcAcceptedReply(RpcVerifier verifier) : base(memberSerializers) { this.verifier = verifier; this.status = RpcAcceptStatus.Success; }