C# Class Agnos.TransportFactories.SocketTransportFactory

A TransportFactory that waits for incoming TCP connections and returns SocketTransport instances
Inheritance: ITransportFactory
Afficher le fichier Open project: tomerfiliba/agnos Class Usage Examples

Méthodes publiques

Méthode Description
Accept ( ) : ITransport
Close ( ) : void
SocketTransportFactory ( IPAddress addr, int port ) : System
SocketTransportFactory ( IPAddress addr, int port, int backlog ) : System
SocketTransportFactory ( String host, int port ) : System
SocketTransportFactory ( String host, int port, int backlog ) : System
SocketTransportFactory ( int port ) : System
SocketTransportFactory ( int port, int backlog ) : System

Méthodes protégées

Méthode Description
GetIPv4AddressOf ( String host ) : IPAddress

Method Details

Accept() public méthode

public Accept ( ) : ITransport
Résultat ITransport

Close() public méthode

public Close ( ) : void
Résultat void

GetIPv4AddressOf() protected static méthode

protected static GetIPv4AddressOf ( String host ) : IPAddress
host String
Résultat System.Net.IPAddress

SocketTransportFactory() public méthode

public SocketTransportFactory ( IPAddress addr, int port ) : System
addr System.Net.IPAddress
port int
Résultat System

SocketTransportFactory() public méthode

public SocketTransportFactory ( IPAddress addr, int port, int backlog ) : System
addr System.Net.IPAddress
port int
backlog int
Résultat System

SocketTransportFactory() public méthode

public SocketTransportFactory ( String host, int port ) : System
host String
port int
Résultat System

SocketTransportFactory() public méthode

public SocketTransportFactory ( String host, int port, int backlog ) : System
host String
port int
backlog int
Résultat System

SocketTransportFactory() public méthode

public SocketTransportFactory ( int port ) : System
port int
Résultat System

SocketTransportFactory() public méthode

public SocketTransportFactory ( int port, int backlog ) : System
port int
backlog int
Résultat System