C# Class Library.Net.I2p.SamBase

Show file Open project: Alliance-Network/Library

Public Methods

Method Description
GetSocket ( ) : Socket
Handshake ( ) : void
NamingLookup ( string name ) : string
SamBase ( Socket socket ) : System
SessionCreate ( string sessionId, string caption ) : string
StreamAccept ( string sessionId ) : string
StreamConnect ( string sessionId, string destination ) : void

Private Methods

Method Description
Receive ( ) : SamCommand
Send ( SamCommand samCommand ) : void

Method Details

GetSocket() public method

public GetSocket ( ) : Socket
return System.Net.Sockets.Socket

Handshake() public method

public Handshake ( ) : void
return void

NamingLookup() public method

public NamingLookup ( string name ) : string
name string
return string

SamBase() public method

public SamBase ( Socket socket ) : System
socket System.Net.Sockets.Socket
return System

SessionCreate() public method

public SessionCreate ( string sessionId, string caption ) : string
sessionId string
caption string
return string

StreamAccept() public method

public StreamAccept ( string sessionId ) : string
sessionId string
return string

StreamConnect() public method

public StreamConnect ( string sessionId, string destination ) : void
sessionId string
destination string
return void