| 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 |
GI.Gio.Objects.NetworkService
Contents
Description
- newtype NetworkService = NetworkService (ForeignPtr NetworkService)
- class GObject o => NetworkServiceK o
- toNetworkService :: NetworkServiceK o => o -> IO NetworkService
- noNetworkService :: Maybe NetworkService
- networkServiceGetDomain :: (MonadIO m, NetworkServiceK a) => a -> m Text
- networkServiceGetProtocol :: (MonadIO m, NetworkServiceK a) => a -> m Text
- networkServiceGetScheme :: (MonadIO m, NetworkServiceK a) => a -> m Text
- networkServiceGetService :: (MonadIO m, NetworkServiceK a) => a -> m Text
- networkServiceNew :: MonadIO m => Text -> Text -> Text -> m NetworkService
- networkServiceSetScheme :: (MonadIO m, NetworkServiceK a) => a -> Text -> m ()
- data NetworkServiceDomainPropertyInfo
- constructNetworkServiceDomain :: Text -> IO ([Char], GValue)
- getNetworkServiceDomain :: (MonadIO m, NetworkServiceK o) => o -> m Text
- data NetworkServiceProtocolPropertyInfo
- constructNetworkServiceProtocol :: Text -> IO ([Char], GValue)
- getNetworkServiceProtocol :: (MonadIO m, NetworkServiceK o) => o -> m Text
- data NetworkServiceSchemePropertyInfo
- constructNetworkServiceScheme :: Text -> IO ([Char], GValue)
- getNetworkServiceScheme :: (MonadIO m, NetworkServiceK o) => o -> m Text
- setNetworkServiceScheme :: (MonadIO m, NetworkServiceK o) => o -> Text -> m ()
- data NetworkServiceServicePropertyInfo
- constructNetworkServiceService :: Text -> IO ([Char], GValue)
- getNetworkServiceService :: (MonadIO m, NetworkServiceK o) => o -> m Text
Exported types
class GObject o => NetworkServiceK o Source
Instances
| (GObject o, IsDescendantOf NetworkService o) => NetworkServiceK o Source |
toNetworkService :: NetworkServiceK o => o -> IO NetworkService Source
Methods
networkServiceGetDomain
networkServiceGetDomain :: (MonadIO m, NetworkServiceK a) => a -> m Text Source
networkServiceGetProtocol
networkServiceGetProtocol :: (MonadIO m, NetworkServiceK a) => a -> m Text Source
networkServiceGetScheme
networkServiceGetScheme :: (MonadIO m, NetworkServiceK a) => a -> m Text Source
networkServiceGetService
networkServiceGetService :: (MonadIO m, NetworkServiceK a) => a -> m Text Source
networkServiceNew
networkServiceNew :: MonadIO m => Text -> Text -> Text -> m NetworkService Source
networkServiceSetScheme
networkServiceSetScheme :: (MonadIO m, NetworkServiceK a) => a -> Text -> m () Source
Properties
Domain
data NetworkServiceDomainPropertyInfo Source
Instances
| AttrInfo NetworkServiceDomainPropertyInfo Source | |
| type AttrLabel NetworkServiceDomainPropertyInfo = "NetworkService::domain" Source | |
| type AttrGetType NetworkServiceDomainPropertyInfo = Text Source | |
| type AttrBaseTypeConstraint NetworkServiceDomainPropertyInfo = NetworkServiceK Source | |
| type AttrSetTypeConstraint NetworkServiceDomainPropertyInfo = * ~ Text Source | |
| type AttrAllowedOps NetworkServiceDomainPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getNetworkServiceDomain :: (MonadIO m, NetworkServiceK o) => o -> m Text Source
Protocol
data NetworkServiceProtocolPropertyInfo Source
Instances
| AttrInfo NetworkServiceProtocolPropertyInfo Source | |
| type AttrLabel NetworkServiceProtocolPropertyInfo = "NetworkService::protocol" Source | |
| type AttrGetType NetworkServiceProtocolPropertyInfo = Text Source | |
| type AttrBaseTypeConstraint NetworkServiceProtocolPropertyInfo = NetworkServiceK Source | |
| type AttrSetTypeConstraint NetworkServiceProtocolPropertyInfo = * ~ Text Source | |
| type AttrAllowedOps NetworkServiceProtocolPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getNetworkServiceProtocol :: (MonadIO m, NetworkServiceK o) => o -> m Text Source
Scheme
data NetworkServiceSchemePropertyInfo Source
Instances
| AttrInfo NetworkServiceSchemePropertyInfo Source | |
| type AttrLabel NetworkServiceSchemePropertyInfo = "NetworkService::scheme" Source | |
| type AttrGetType NetworkServiceSchemePropertyInfo = Text Source | |
| type AttrBaseTypeConstraint NetworkServiceSchemePropertyInfo = NetworkServiceK Source | |
| type AttrSetTypeConstraint NetworkServiceSchemePropertyInfo = * ~ Text Source | |
| type AttrAllowedOps NetworkServiceSchemePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getNetworkServiceScheme :: (MonadIO m, NetworkServiceK o) => o -> m Text Source
setNetworkServiceScheme :: (MonadIO m, NetworkServiceK o) => o -> Text -> m () Source
Service
data NetworkServiceServicePropertyInfo Source
Instances
| AttrInfo NetworkServiceServicePropertyInfo Source | |
| type AttrLabel NetworkServiceServicePropertyInfo = "NetworkService::service" Source | |
| type AttrGetType NetworkServiceServicePropertyInfo = Text Source | |
| type AttrBaseTypeConstraint NetworkServiceServicePropertyInfo = NetworkServiceK Source | |
| type AttrSetTypeConstraint NetworkServiceServicePropertyInfo = * ~ Text Source | |
| type AttrAllowedOps NetworkServiceServicePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getNetworkServiceService :: (MonadIO m, NetworkServiceK o) => o -> m Text Source