Exception: NFS::SUNRPC::AcceptedError
- Inherits:
-
Exception
- Object
- Exception
- NFS::SUNRPC::AcceptedError
- Defined in:
- lib/nfs/sunrpc.rb
Overview
Abstract base of errors where the message was “accepted”
Direct Known Subclasses
GarbageArguments, ProcedureUnavailable, ProgramMismatch, ProgramUnavailable
Instance Method Summary collapse
Instance Method Details
#encode(xid) ⇒ Object
290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/nfs/sunrpc.rb', line 290 def encode(xid) RpcMsg.encode({ xid: xid, body: { _discriminant: :REPLY, rbody: { _discriminant: :MSG_ACCEPTED, areply: areply } } }) end |