DCPlusPlus.UPnP Class Reference

A simple class to use Routers who support the UPnP Protocol takes care of discovery and can setup port mappings and tell the external ip address. More...

List of all members.

Public Member Functions

delegate void RouterDiscoveredEventHandler (Router router)
 Event handler that gets called when a UPnP Router was discovered in the lan.
delegate void RouterStateChangedEventHandler (Router router)
 Event handler that gets called when a state of a UPnP Router has changed.
void StartDiscovery ()
 Start an UPnP service discovery.
[Test] void TestDiscovery ()
 Test to see if discovery works the way it should (a upnp router in your lan is need to finish this test successfully).

Public Attributes

event RouterDiscoveredEventHandler RouterDiscovered
 Prototype for the Router Discovered Event Handler.
event RouterStateChangedEventHandler RouterStateChanged
 Prototype for the Router State Changed Event Handler.

Private Member Functions

void CloseListeningSocket ()
void SetupListeningSocket ()

Classes

class  Router
 A class to use UPnP supporting Routers. More...


Detailed Description

A simple class to use Routers who support the UPnP Protocol takes care of discovery and can setup port mappings and tell the external ip address.

Definition at line 22 of file UPnP.cs.


Member Function Documentation

void DCPlusPlus.UPnP.CloseListeningSocket (  )  [private]

Definition at line 68 of file UPnP.cs.

00069         {
00070         }

delegate void DCPlusPlus.UPnP.RouterDiscoveredEventHandler ( Router  router  ) 

Event handler that gets called when a UPnP Router was discovered in the lan.

Parameters:
router the router that was discovered

delegate void DCPlusPlus.UPnP.RouterStateChangedEventHandler ( Router  router  ) 

Event handler that gets called when a state of a UPnP Router has changed.

Parameters:
router the router which state has changed

void DCPlusPlus.UPnP.SetupListeningSocket (  )  [private]

Definition at line 65 of file UPnP.cs.

00066         {
00067         }

void DCPlusPlus.UPnP.StartDiscovery (  ) 

Start an UPnP service discovery.

Definition at line 60 of file UPnP.cs.

00061         {
00062         }

[Test] void DCPlusPlus.UPnP.TestDiscovery (  ) 

Test to see if discovery works the way it should (a upnp router in your lan is need to finish this test successfully).

Definition at line 82 of file UPnP.cs.

00083         {
00084         }


Member Data Documentation

event RouterDiscoveredEventHandler DCPlusPlus.UPnP.RouterDiscovered

Prototype for the Router Discovered Event Handler.

Definition at line 39 of file UPnP.cs.

event RouterStateChangedEventHandler DCPlusPlus.UPnP.RouterStateChanged

Prototype for the Router State Changed Event Handler.

Definition at line 43 of file UPnP.cs.


The documentation for this class was generated from the following file:
Generated on Wed Mar 7 19:09:47 2007 for DCPlusPlus by  doxygen 1.5.1-p1