C# Класс Brunet.Relay.OverlapConnectionOverlord

A CO used to create Overlap so that tunnels can be made between two peers that cannot directly connect.
Наследование: Brunet.Connections.ConnectionOverlord
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
MAIN_TYPE ConnectionType
STRUC_OVERLAP string

Защищенные свойства (Protected)

Свойство Тип Описание
_active bool
_address_to_callback WaitCallback>.Dictionary
_sync object
_ta_auth Brunet.Transport.TAAuthorizer

Открытые методы

Метод Описание
ConnectTo ( Address target, WaitCallback wcb ) : void

Attempt to connect to a remote overlay address and notify the caller when the process has completed, successful or not.

OverlapConnectionOverlord ( Node node ) : System

Защищенные методы

Метод Описание
ConnectorEndHandler ( object o, EventArgs eargs ) : void

If we get a response, its handled by the base.HandleCtmResponse. If we don't get a response, we should finish this attempt to connect.

FinishConnectTo ( Address target ) : void

Cleans up state and calls the callback so that it can determine by ConnectionTable inspection if the connection was successful.

LinkerEndHandler ( object o, EventArgs eargs ) : void

At the end of the linking process, we are either connected or not connected to the remote endpoint, so we can notify the caller of the result.

Описание методов

ConnectTo() публичный Метод

Attempt to connect to a remote overlay address and notify the caller when the process has completed, successful or not.
public ConnectTo ( Address target, WaitCallback wcb ) : void
target Address
wcb WaitCallback
Результат void

ConnectorEndHandler() защищенный Метод

If we get a response, its handled by the base.HandleCtmResponse. If we don't get a response, we should finish this attempt to connect.
protected ConnectorEndHandler ( object o, EventArgs eargs ) : void
o object
eargs System.EventArgs
Результат void

FinishConnectTo() защищенный Метод

Cleans up state and calls the callback so that it can determine by ConnectionTable inspection if the connection was successful.
protected FinishConnectTo ( Address target ) : void
target Address
Результат void

LinkerEndHandler() защищенный Метод

At the end of the linking process, we are either connected or not connected to the remote endpoint, so we can notify the caller of the result.
protected LinkerEndHandler ( object o, EventArgs eargs ) : void
o object
eargs System.EventArgs
Результат void

OverlapConnectionOverlord() публичный Метод

public OverlapConnectionOverlord ( Node node ) : System
node Node
Результат System

Описание свойств

MAIN_TYPE публичное статическое свойство

public static ConnectionType MAIN_TYPE
Результат ConnectionType

STRUC_OVERLAP публичное статическое свойство

public static string STRUC_OVERLAP
Результат string

_active защищенное свойство

protected bool _active
Результат bool

_address_to_callback защищенное свойство

protected Dictionary _address_to_callback
Результат WaitCallback>.Dictionary

_sync защищенное свойство

protected object _sync
Результат object

_ta_auth защищенное статическое свойство

protected static TAAuthorizer,Brunet.Transport _ta_auth
Результат Brunet.Transport.TAAuthorizer