Method | Description | |
---|---|---|
CreateProbeMatchMessage ( string relatesTo, string instanceId, uint messageNumber, |
Create a probe match message
|
|
Dispose ( ) : void |
Dispose the resource of the class
|
|
SendMulticast ( |
Send multicast message
|
|
SendUnicast ( |
Send unicast message
|
|
StartListening ( ) : void |
Start the listener to receive wsdiscovery message
|
|
StopListening ( ) : void |
Stop the listener to not receive wsdiscovery message
|
|
WsDiscoveryService ( ) : System |
Initializes a new instance of the WsDiscoveryService class with default transport type
|
|
WsDiscoveryService ( ILogPrinter logger ) : System |
Initializes a new instance of the WsDiscoveryService class with logger and default transport type
|
|
WsDiscoveryService ( TransportType transportType ) : System |
Initializes a new instance of the WsDiscoveryService class with specified transport type
|
|
WsDiscoveryService ( TransportType transportType, ILogPrinter logger ) : System |
Initializes a new instance of the WsDiscoveryService class with logger and specified transport type
|
Method | Description | |
---|---|---|
Deserialize ( string data ) : |
Deserialize the wsdiscovery message
|
|
Transport_MessageArrived ( |
Receive the wsdicovery message
|
public CreateProbeMatchMessage ( string relatesTo, string instanceId, uint messageNumber, |
||
relatesTo | string | The URI of relates to |
instanceId | string | Instance ID |
messageNumber | uint | Message number |
matches | Probe match messages | |
return |
public SendMulticast ( |
||
message | The multicast message | |
return | void |
public SendUnicast ( |
||
message | The unicast message | |
address | string | Destination IP address |
port | int | Destination port |
return | void |
public WsDiscoveryService ( ILogPrinter logger ) : System | ||
logger | ILogPrinter | The logger. |
return | System |
public WsDiscoveryService ( TransportType transportType ) : System | ||
transportType | TransportType | Transprot type |
return | System |
public WsDiscoveryService ( TransportType transportType, ILogPrinter logger ) : System | ||
transportType | TransportType | The transport type |
logger | ILogPrinter | The logger |
return | System |