Class: Gio::NetworkService

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#domainString

Returns domain.

Returns:

  • (String)

    domain

#domain=(domain) ⇒ String

Parameters:

  • domain (String)

Returns:

  • (String)

    domain

  • (String)

    domain

#new(service, protocol, domain) ⇒ Gio::NetworkService

Creates a new GNetwork::Service representing the given service, protocol, and domain. This will initially be unresolved; use the GSocket::Connectable interface to resolve it.

Parameters:

  • service (String)

    the service type to look up (eg, “ldap”)

  • protocol (String)

    the networking protocol to use for service (eg, “tcp”)

  • domain (String)

    the DNS domain to look up the service in

Returns:

#protocolString

Returns protocol.

Returns:

  • (String)

    protocol

#protocol=(protocol) ⇒ String

Parameters:

  • protocol (String)

Returns:

  • (String)

    protocol

  • (String)

    protocol

#schemeString

Returns scheme.

Returns:

  • (String)

    scheme

#scheme=(scheme) ⇒ String

Parameters:

  • scheme (String)

Returns:

  • (String)

    scheme

  • (String)

    scheme

#serviceString

Returns service.

Returns:

  • (String)

    service

#service=(service) ⇒ String

Parameters:

  • service (String)

Returns:

  • (String)

    service

  • (String)

    service