hercules-ci-api-agent-0.5.0.1: API definition for Hercules CI Agent to talk to hercules-ci.com or Hercules CI Enterprise
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hercules.API.Agent.Socket.Frame

Synopsis

Documentation

data Frame o a Source #

Adds serial number n to payloads p and allows acknowledgement for a related stream that travels in the opposite direction.

Constructors

Msg

Message

Fields

Oob

Out of band message: not redelivered, not acknowledged.

Fields

  • o :: o
     
Ack

Acknowledgement

Fields

Exception

Exception

Fields

Instances

Instances details
(FromJSON a, FromJSON o) => FromJSON (Frame o a) Source # 
Instance details

Defined in Hercules.API.Agent.Socket.Frame

(ToJSON o, ToJSON a) => ToJSON (Frame o a) Source # 
Instance details

Defined in Hercules.API.Agent.Socket.Frame

Generic (Frame o a) Source # 
Instance details

Defined in Hercules.API.Agent.Socket.Frame

Associated Types

type Rep (Frame o a) :: Type -> Type Source #

Methods

from :: Frame o a -> Rep (Frame o a) x Source #

to :: Rep (Frame o a) x -> Frame o a Source #

(Show a, Show o) => Show (Frame o a) Source # 
Instance details

Defined in Hercules.API.Agent.Socket.Frame

Methods

showsPrec :: Int -> Frame o a -> ShowS Source #

show :: Frame o a -> String Source #

showList :: [Frame o a] -> ShowS Source #

(NFData a, NFData o) => NFData (Frame o a) Source # 
Instance details

Defined in Hercules.API.Agent.Socket.Frame

Methods

rnf :: Frame o a -> () Source #

(Eq a, Eq o) => Eq (Frame o a) Source # 
Instance details

Defined in Hercules.API.Agent.Socket.Frame

Methods

(==) :: Frame o a -> Frame o a -> Bool Source #

(/=) :: Frame o a -> Frame o a -> Bool Source #

type Rep (Frame o a) Source # 
Instance details

Defined in Hercules.API.Agent.Socket.Frame

mapOob :: (a -> b) -> Frame a c -> Frame b c Source #