C# Class System.Net.EndPointListener

Show file Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
AddPrefix ( System.Net.ListenerPrefix prefix, HttpListener listener ) : void
BindContext ( HttpListenerContext context ) : bool
Close ( ) : void
EndPointListener ( IPAddress addr, int port, bool secure ) : System.IO
RemovePrefix ( System.Net.ListenerPrefix prefix, HttpListener listener ) : void
UnbindContext ( HttpListenerContext context ) : void

Private Methods

Method Description
AddSpecial ( ArrayList coll, System.Net.ListenerPrefix prefix ) : void
CheckIfRemove ( ) : void
LoadCertificateAndKey ( IPAddress addr, int port ) : void
MatchFromList ( string host, string path, ArrayList list, System.Net.ListenerPrefix &prefix ) : HttpListener
OnAccept ( object sender, EventArgs e ) : void
RemoveSpecial ( ArrayList coll, System.Net.ListenerPrefix prefix ) : void
SearchListener ( string host, Uri uri, System.Net.ListenerPrefix &prefix ) : HttpListener

Method Details

AddPrefix() public method

public AddPrefix ( System.Net.ListenerPrefix prefix, HttpListener listener ) : void
prefix System.Net.ListenerPrefix
listener HttpListener
return void

BindContext() public method

public BindContext ( HttpListenerContext context ) : bool
context HttpListenerContext
return bool

Close() public method

public Close ( ) : void
return void

EndPointListener() public method

public EndPointListener ( IPAddress addr, int port, bool secure ) : System.IO
addr IPAddress
port int
secure bool
return System.IO

RemovePrefix() public method

public RemovePrefix ( System.Net.ListenerPrefix prefix, HttpListener listener ) : void
prefix System.Net.ListenerPrefix
listener HttpListener
return void

UnbindContext() public method

public UnbindContext ( HttpListenerContext context ) : void
context HttpListenerContext
return void