Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ONC (Sun) RPC: Remote Procedure Call Protocol Version 2 as described in RFC5531
This module should be imported qualified, e.g., as RPC
.
Synopsis
- module Network.ONCRPC.XDR
- data Authsys_parms = Authsys_parms {}
- data Auth
- getAuthUnix :: IO Auth
- type ReplyException = Reply Void
- data Reply a
- = Reply {
- replyVerf :: !Auth
- replyResults :: a
- | ReplyError { }
- | ReplyRejected { }
- | ReplyFail String
- = Reply {
- data Call a r = Call {}
- data RPCException
- module Network.ONCRPC.Client
Documentation
module Network.ONCRPC.XDR
data Authsys_parms Source #
Authsys_parms | |
|
Instances
Opaqued Authsys_parms Source # | |
Defined in Network.ONCRPC.XDR.Opaque opacify :: Authsys_parms -> ByteString Source # unopacify :: MonadFail m => ByteString -> m Authsys_parms Source # | |
XDR Authsys_parms Source # | |
Defined in Network.ONCRPC.Prot xdrType :: Authsys_parms -> String Source # xdrPut :: Authsys_parms -> Put Source # | |
Show Authsys_parms Source # | |
Defined in Network.ONCRPC.Prot showsPrec :: Int -> Authsys_parms -> ShowS # show :: Authsys_parms -> String # showList :: [Authsys_parms] -> ShowS # | |
Eq Authsys_parms Source # | |
Defined in Network.ONCRPC.Prot (==) :: Authsys_parms -> Authsys_parms -> Bool # (/=) :: Authsys_parms -> Authsys_parms -> Bool # |
More translucent version of Opaque_auth
union (not expressible in XDR)
getAuthUnix :: IO Auth Source #
Get the appropriate, effective AuthSys value for the current process. You know, if you're into that sort of thing.
type ReplyException = Reply Void Source #
Reply_body
with results
Reply | |
| |
ReplyError | |
| |
ReplyRejected | |
ReplyFail String | Missing/corrupt response |
Call_body
with parameters
data RPCException Source #
Instances
Exception RPCException Source # | |
Defined in Network.ONCRPC.Exception | |
Show RPCException Source # | |
Defined in Network.ONCRPC.Exception showsPrec :: Int -> RPCException -> ShowS # show :: RPCException -> String # showList :: [RPCException] -> ShowS # |
module Network.ONCRPC.Client