network.endpoints.local - Palamecia/mint GitHub Wiki

Module network.endpoints.local

Description

load network.endpoints.local

This module provides the Network.LocalEndpoint abstraction for representing local IPC address.

Packages

Classes

Network.LocalEndpoint

This class provides an address to access a peer process using a local socket.

Inherits

Public members

Modifiers Member Description
const getName Returns the local address name.
const getPath Returns the path to the local socket file or none if the backend does not sup...
const new Creates a new end point for the local address described by name.

Package members

Modifiers Member Description
override const to_sockaddr Returns the pointer to the internal struct sockaddr instance.

Private members

Modifiers Member Description
final d_ptr Object data.
@ const g_lib Global library handle.
final name Internal local serveur name.

Descriptions

Network.LocalEndpoint.d_ptr

null

Object data.

Network.LocalEndpoint.g_lib

lib ('libmint-network')

Global library handle.

Network.LocalEndpoint.getName

def (const self)

Returns the local address name.

Network.LocalEndpoint.getPath

def (const self)

Returns the path to the local socket file or none if the backend does not support it.

Network.LocalEndpoint.name

''

Internal local serveur name.

Network.LocalEndpoint.new

def (self, name)

Creates a new end point for the local address described by name.

Network.LocalEndpoint.to_sockaddr

def (self)

Returns the pointer to the internal struct sockaddr instance.