C# 클래스 Microsoft.Protocols.TestTools.StackSdk.WsDiscovery.Transport.SoapOverUdp

Send soap message over UDP.
상속: ITransport
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites

공개 메소드들

메소드 설명
Dispose ( ) : void

Dispose the class resource

SendBytes ( byte bytes, string address, int port ) : void

Send the soap message over UDP

SoapOverUdp ( ) : System.Net

Initializes a new instance of the SoapOverUdp class.

SoapOverUdp ( string multicastAddress, int multicastPort ) : System.Net

Initializes a new instance of the SoapOverUdp class.

StartListening ( ) : void

Start the unicast and multicast listener

StopListening ( ) : void

Stop the unicast and multicast listener

비공개 메소드들

메소드 설명
GetUdpClient ( ) : UdpClient

Get a instance of the UDP client

MulticastListener_multicastMsgArrived ( IPEndPoint remoteAddr, byte data ) : void

Receive the multicast message

UnicastListenerMessageArrived ( IPEndPoint remoteAddr, byte data ) : void

Receive the unicast message

메소드 상세

Dispose() 공개 메소드

Dispose the class resource
public Dispose ( ) : void
리턴 void

SendBytes() 공개 메소드

Send the soap message over UDP
public SendBytes ( byte bytes, string address, int port ) : void
bytes byte The message data
address string The destination address
port int The destination port
리턴 void

SoapOverUdp() 공개 메소드

Initializes a new instance of the SoapOverUdp class.
public SoapOverUdp ( ) : System.Net
리턴 System.Net

SoapOverUdp() 공개 메소드

Initializes a new instance of the SoapOverUdp class.
public SoapOverUdp ( string multicastAddress, int multicastPort ) : System.Net
multicastAddress string The multicast address
multicastPort int The multicast port
리턴 System.Net

StartListening() 공개 메소드

Start the unicast and multicast listener
public StartListening ( ) : void
리턴 void

StopListening() 공개 메소드

Stop the unicast and multicast listener
public StopListening ( ) : void
리턴 void