C# Class Ipop.SocialVPN.SocialNode

Inheritance: Ipop.Managed.ManagedIpopNode
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_address string
_friends SocialUser>.ImmutableDictionary
_managed_co Brunet.Connections.ManagedConnectionOverlord
_rsa System.Security.Cryptography.RSACryptoServiceProvider
_user WriteOnce

Méthodes publiques

Méthode Description
AddFriend ( string address, string cert, string uid, string ip ) : SocialUser
Block ( string address ) : void
Close ( ) : void
CreateNode ( ) : SocialNode
GetNatType ( ) : string
GetStats ( string address ) : string
IsAllowed ( string address ) : bool
Main ( string args ) : void
RemoveFriend ( string address ) : void
SetUid ( string uid ) : void
SetUid ( string uid, string pcid ) : void
SocialNode ( NodeConfig brunetConfig, IpopConfig ipopConfig, RSACryptoServiceProvider rsa ) : System
Unblock ( string address ) : void

Méthodes protégées

Méthode Description
HandleShutdown ( object state ) : void

Method Details

AddFriend() public méthode

public AddFriend ( string address, string cert, string uid, string ip ) : SocialUser
address string
cert string
uid string
ip string
Résultat SocialUser

Block() public méthode

public Block ( string address ) : void
address string
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CreateNode() public static méthode

public static CreateNode ( ) : SocialNode
Résultat SocialNode

GetNatType() public méthode

public GetNatType ( ) : string
Résultat string

GetStats() public méthode

public GetStats ( string address ) : string
address string
Résultat string

HandleShutdown() protected méthode

protected HandleShutdown ( object state ) : void
state object
Résultat void

IsAllowed() public méthode

public IsAllowed ( string address ) : bool
address string
Résultat bool

Main() public static méthode

public static Main ( string args ) : void
args string
Résultat void

RemoveFriend() public méthode

public RemoveFriend ( string address ) : void
address string
Résultat void

SetUid() public méthode

public SetUid ( string uid ) : void
uid string
Résultat void

SetUid() public méthode

public SetUid ( string uid, string pcid ) : void
uid string
pcid string
Résultat void

SocialNode() public méthode

public SocialNode ( NodeConfig brunetConfig, IpopConfig ipopConfig, RSACryptoServiceProvider rsa ) : System
brunetConfig Brunet.Applications.NodeConfig
ipopConfig Ipop.IpopConfig
rsa System.Security.Cryptography.RSACryptoServiceProvider
Résultat System

Unblock() public méthode

public Unblock ( string address ) : void
address string
Résultat void

Property Details

_address protected_oe property

protected string _address
Résultat string

_friends protected_oe property

protected ImmutableDictionary _friends
Résultat SocialUser>.ImmutableDictionary

_managed_co protected_oe property

protected Brunet.Connections.ManagedConnectionOverlord _managed_co
Résultat Brunet.Connections.ManagedConnectionOverlord

_rsa protected_oe property

protected RSACryptoServiceProvider,System.Security.Cryptography _rsa
Résultat System.Security.Cryptography.RSACryptoServiceProvider

_user protected_oe property

protected WriteOnce _user
Résultat WriteOnce