Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
SetPacketId Msgid (Packet a) Source # | |
Defined in Periodic.Types.Packet setPacketId :: Msgid -> Packet a -> Packet a # | |
GetPacketId Msgid (Packet a) Source # | |
Defined in Periodic.Types.Packet getPacketId :: Packet a -> Msgid # | |
Eq a => Eq (Packet a) Source # | |
Show a => Show (Packet a) Source # | |
Binary a => Binary (Packet a) Source # | |
Binary a => RecvPacket (Packet a) Source # | |
Defined in Periodic.Types.Packet recvPacket :: MonadIO m => (Int -> m ByteString) -> m (Packet a) # | |
Binary a => SendPacket (Packet a) Source # | |
Defined in Periodic.Types.Packet sendPacket :: MonadIO m => Packet a -> (ByteString -> m ()) -> m () # |
getPacketData :: Packet a -> a Source #
getPacketMagic :: Packet a -> Magic Source #
Instances
Eq a => Eq (RegPacket a) Source # | |
Show a => Show (RegPacket a) Source # | |
Binary a => Binary (RegPacket a) Source # | |
Binary a => RecvPacket (RegPacket a) Source # | |
Defined in Periodic.Types.Packet recvPacket :: MonadIO m => (Int -> m ByteString) -> m (RegPacket a) # | |
Binary a => SendPacket (RegPacket a) Source # | |
Defined in Periodic.Types.Packet sendPacket :: MonadIO m => RegPacket a -> (ByteString -> m ()) -> m () # |
regPacketREQ :: a -> RegPacket a Source #
regPacketRES :: a -> RegPacket a Source #
getClientType :: RegPacket a -> a Source #