Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype SocketConnection = SocketConnection (ForeignPtr SocketConnection)
- class GObject o => SocketConnectionK o
- toSocketConnection :: SocketConnectionK o => o -> IO SocketConnection
- noSocketConnection :: Maybe SocketConnection
- data SocketConnectionConnectMethodInfo
- socketConnectionConnect :: (MonadIO m, SocketConnectionK a, SocketAddressK b, CancellableK c) => a -> b -> Maybe c -> m ()
- data SocketConnectionConnectAsyncMethodInfo
- socketConnectionConnectAsync :: (MonadIO m, SocketConnectionK a, SocketAddressK b, CancellableK c) => a -> b -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data SocketConnectionConnectFinishMethodInfo
- socketConnectionConnectFinish :: (MonadIO m, SocketConnectionK a, AsyncResultK b) => a -> b -> m ()
- socketConnectionFactoryLookupType :: MonadIO m => SocketFamily -> SocketType -> Int32 -> m GType
- socketConnectionFactoryRegisterType :: MonadIO m => GType -> SocketFamily -> SocketType -> Int32 -> m ()
- data SocketConnectionGetLocalAddressMethodInfo
- socketConnectionGetLocalAddress :: (MonadIO m, SocketConnectionK a) => a -> m SocketAddress
- data SocketConnectionGetRemoteAddressMethodInfo
- socketConnectionGetRemoteAddress :: (MonadIO m, SocketConnectionK a) => a -> m SocketAddress
- data SocketConnectionGetSocketMethodInfo
- socketConnectionGetSocket :: (MonadIO m, SocketConnectionK a) => a -> m Socket
- data SocketConnectionIsConnectedMethodInfo
- socketConnectionIsConnected :: (MonadIO m, SocketConnectionK a) => a -> m Bool
- data SocketConnectionSocketPropertyInfo
- constructSocketConnectionSocket :: SocketK a => a -> IO ([Char], GValue)
- getSocketConnectionSocket :: (MonadIO m, SocketConnectionK o) => o -> m Socket
- socketConnectionSocket :: AttrLabelProxy "socket"
Exported types
newtype SocketConnection Source
GObject SocketConnection | |
((~) * info (ResolveSocketConnectionMethod t SocketConnection), MethodInfo * info SocketConnection p) => IsLabelProxy t (SocketConnection -> p) | |
type ParentTypes SocketConnection | |
type AttributeList SocketConnection | |
type SignalList SocketConnection |
class GObject o => SocketConnectionK o Source
(GObject o, IsDescendantOf SocketConnection o) => SocketConnectionK o |
toSocketConnection :: SocketConnectionK o => o -> IO SocketConnection Source
Methods
socketConnectionConnect
data SocketConnectionConnectMethodInfo Source
((~) * signature (b -> Maybe c -> m ()), MonadIO m, SocketConnectionK a, SocketAddressK b, CancellableK c) => MethodInfo * SocketConnectionConnectMethodInfo a signature |
socketConnectionConnect :: (MonadIO m, SocketConnectionK a, SocketAddressK b, CancellableK c) => a -> b -> Maybe c -> m () Source
socketConnectionConnectAsync
data SocketConnectionConnectAsyncMethodInfo Source
((~) * signature (b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, SocketConnectionK a, SocketAddressK b, CancellableK c) => MethodInfo * SocketConnectionConnectAsyncMethodInfo a signature |
socketConnectionConnectAsync :: (MonadIO m, SocketConnectionK a, SocketAddressK b, CancellableK c) => a -> b -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
socketConnectionConnectFinish
data SocketConnectionConnectFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, SocketConnectionK a, AsyncResultK b) => MethodInfo * SocketConnectionConnectFinishMethodInfo a signature |
socketConnectionConnectFinish :: (MonadIO m, SocketConnectionK a, AsyncResultK b) => a -> b -> m () Source
socketConnectionFactoryLookupType
socketConnectionFactoryLookupType :: MonadIO m => SocketFamily -> SocketType -> Int32 -> m GType Source
socketConnectionFactoryRegisterType
socketConnectionFactoryRegisterType :: MonadIO m => GType -> SocketFamily -> SocketType -> Int32 -> m () Source
socketConnectionGetLocalAddress
data SocketConnectionGetLocalAddressMethodInfo Source
((~) * signature (m SocketAddress), MonadIO m, SocketConnectionK a) => MethodInfo * SocketConnectionGetLocalAddressMethodInfo a signature |
socketConnectionGetLocalAddress :: (MonadIO m, SocketConnectionK a) => a -> m SocketAddress Source
socketConnectionGetRemoteAddress
data SocketConnectionGetRemoteAddressMethodInfo Source
((~) * signature (m SocketAddress), MonadIO m, SocketConnectionK a) => MethodInfo * SocketConnectionGetRemoteAddressMethodInfo a signature |
socketConnectionGetRemoteAddress :: (MonadIO m, SocketConnectionK a) => a -> m SocketAddress Source
socketConnectionGetSocket
data SocketConnectionGetSocketMethodInfo Source
((~) * signature (m Socket), MonadIO m, SocketConnectionK a) => MethodInfo * SocketConnectionGetSocketMethodInfo a signature |
socketConnectionGetSocket :: (MonadIO m, SocketConnectionK a) => a -> m Socket Source
socketConnectionIsConnected
data SocketConnectionIsConnectedMethodInfo Source
((~) * signature (m Bool), MonadIO m, SocketConnectionK a) => MethodInfo * SocketConnectionIsConnectedMethodInfo a signature |
socketConnectionIsConnected :: (MonadIO m, SocketConnectionK a) => a -> m Bool Source
Properties
Socket
data SocketConnectionSocketPropertyInfo Source
getSocketConnectionSocket :: (MonadIO m, SocketConnectionK o) => o -> m Socket Source
socketConnectionSocket :: AttrLabelProxy "socket" Source