/// <summary>
 /// Constructs an <code>OncRpcAcceptedCallMessage</code> object which
 /// represents an accepted call, which was not necessarily successfully
 /// carried out.
 /// </summary>
 /// <remarks>
 /// Constructs an <code>OncRpcAcceptedCallMessage</code> object which
 /// represents an accepted call, which was not necessarily successfully
 /// carried out. The parameter <code>acceptStatus</code> will then
 /// indicate the exact outcome of the ONC/RPC call.
 /// </remarks>
 /// <param name="call">
 /// The call message header, which is used to construct the
 /// matching reply message header from.
 /// </param>
 /// <param name="acceptStatus">
 /// The accept status of the call. This can be any
 /// one of the constants defined in the
 /// <see cref="org.acplt.oncrpc.OncRpcAcceptStatus">org.acplt.oncrpc.OncRpcAcceptStatus
 ///     </see>
 /// interface.
 /// </param>
 public OncRpcServerAcceptedCallMessage(org.acplt.oncrpc.server.OncRpcServerCallMessage
                                        call, int acceptStatus) : base(call, org.acplt.oncrpc.OncRpcReplyStatus.ONCRPC_MSG_ACCEPTED
                                                                       , acceptStatus, org.acplt.oncrpc.OncRpcReplyMessage.UNUSED_PARAMETER, org.acplt.oncrpc.OncRpcReplyMessage
                                                                       .UNUSED_PARAMETER, org.acplt.oncrpc.OncRpcReplyMessage.UNUSED_PARAMETER, org.acplt.oncrpc.OncRpcAuthStatus
                                                                       .ONCRPC_AUTH_OK)
 {
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new <code>OncRpcReplyMessage</code> object and initializes
 /// its complete state from the given parameters.
 /// </summary>
 /// <remarks>
 /// Initializes a new <code>OncRpcReplyMessage</code> object and initializes
 /// its complete state from the given parameters.
 /// <p>Note that depending on the reply, acceptance and rejectance status
 /// some parameters are unused and can be specified as
 /// <code>UNUSED_PARAMETER</code>.
 /// </remarks>
 /// <param name="call">The ONC/RPC call this reply message corresponds to.</param>
 /// <param name="replyStatus">
 /// The reply status (see
 /// <see cref="org.acplt.oncrpc.OncRpcReplyStatus">org.acplt.oncrpc.OncRpcReplyStatus
 ///     </see>
 /// ).
 /// </param>
 /// <param name="acceptStatus">
 /// The acceptance state (see
 /// <see cref="org.acplt.oncrpc.OncRpcAcceptStatus">org.acplt.oncrpc.OncRpcAcceptStatus
 ///     </see>
 /// ).
 /// </param>
 /// <param name="rejectStatus">
 /// The rejectance state (see
 /// <see cref="org.acplt.oncrpc.OncRpcRejectStatus">org.acplt.oncrpc.OncRpcRejectStatus
 ///     </see>
 /// ).
 /// </param>
 /// <param name="lowVersion">lowest supported version.</param>
 /// <param name="highVersion">highest supported version.</param>
 /// <param name="authStatus">
 /// The autentication state (see
 /// <see cref="org.acplt.oncrpc.OncRpcAuthStatus">org.acplt.oncrpc.OncRpcAuthStatus</see>
 /// ).
 /// </param>
 public OncRpcServerReplyMessage(org.acplt.oncrpc.server.OncRpcServerCallMessage call
                                 , int replyStatus, int acceptStatus, int rejectStatus, int lowVersion, int highVersion
                                 , int authStatus) : base(call, replyStatus, acceptStatus, rejectStatus, lowVersion
                                                          , highVersion, authStatus)
 {
     this.auth = call.auth;
 }
 /// <summary>
 /// Constructs an <code>OncRpcAcceptedCallMessage</code> object for an
 /// accepted call with an unsupported version.
 /// </summary>
 /// <remarks>
 /// Constructs an <code>OncRpcAcceptedCallMessage</code> object for an
 /// accepted call with an unsupported version. The reply will contain
 /// information about the lowest and highest supported version.
 /// </remarks>
 /// <param name="call">
 /// The call message header, which is used to construct the
 /// matching reply message header from.
 /// </param>
 /// <param name="low">Lowest program version supported by this ONC/RPC server.</param>
 /// <param name="high">Highest program version supported by this ONC/RPC server.</param>
 public OncRpcServerAcceptedCallMessage(org.acplt.oncrpc.server.OncRpcServerCallMessage
                                        call, int low, int high) : base(call, org.acplt.oncrpc.OncRpcReplyStatus.ONCRPC_MSG_ACCEPTED
                                                                        , org.acplt.oncrpc.OncRpcAcceptStatus.ONCRPC_PROG_MISMATCH, org.acplt.oncrpc.OncRpcReplyMessage
                                                                        .UNUSED_PARAMETER, low, high, org.acplt.oncrpc.OncRpcAuthStatus.ONCRPC_AUTH_OK)
 {
 }