SampleSmart 1.0.0.0
SampleSmart 사용 방법을 보여 주는 예제 프로젝트입니다.
로딩중...
검색중...
일치하는것 없음
SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent 클래스 참조sealed

더 자세히 ...

SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent에 대한 협력 다이어그램:

Public 멤버 함수

 UdpPeerTestViewEvent (CommunicationSampleRuntime runtime)
void StartUdpLoopback ()
void StopUdpLoopback ()
void ConnectUdpPeerA ()
void ConnectUdpPeerB ()
void DisconnectUdpPeerA ()
void DisconnectUdpPeerB ()
void SendUdpPeerA ()
void SendUdpPeerB ()

속성

IReadOnlyList< string > UdpProtocols [get]
string SelectedUdpProtocol [get, set]
IReadOnlyList< string > UdpTextEncodings [get]
string SelectedUdpEncoding [get, set]
string UdpSendText [get, set]
string UdpEndpointSummary [get]

Private 속성

readonly CommunicationSampleRuntime _runtime

상세한 설명

UDP Peer Loopback 테스트 이벤트 처리 클래스입니다.

UdpPeerTestView.xaml.Event.cs 파일의 14 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

◆ UdpPeerTestViewEvent()

SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.UdpPeerTestViewEvent ( CommunicationSampleRuntime runtime)
inline

UdpPeerTestViewEvent 클래스의 새 인스턴스를 초기화합니다.

매개변수
runtimeCommunication 샘플 공유 Runtime입니다.
예외
ArgumentNullException필수 입력 인자 중 하나가 null인 경우 발생합니다.

UdpPeerTestView.xaml.Event.cs 파일의 50 번째 라인에서 정의되었습니다.

51 {
52 _runtime = runtime ?? throw new ArgumentNullException(nameof(runtime));
53
54 SelectedUdpProtocol = "PlainText";
55 SelectedUdpEncoding = PlainTextProtocolOptions.Utf8EncodingName;
56 UdpSendText = "Hello from Dreamine UDP Peer";
57 }

다음을 참조함 : _runtime, SelectedUdpEncoding, SelectedUdpProtocol, UdpSendText.

멤버 함수 문서화

◆ ConnectUdpPeerA()

void SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.ConnectUdpPeerA ( )
inline

UDP Peer A를 연결합니다.

UdpPeerTestView.xaml.Event.cs 파일의 155 번째 라인에서 정의되었습니다.

156 {
157 _ = _runtime.ConnectUdpPeerAAsync(
158 SelectedUdpProtocol,
159 SelectedUdpEncoding);
160 }

다음을 참조함 : _runtime, SelectedUdpEncoding, SelectedUdpProtocol.

◆ ConnectUdpPeerB()

void SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.ConnectUdpPeerB ( )
inline

UDP Peer B를 연결합니다.

UdpPeerTestView.xaml.Event.cs 파일의 170 번째 라인에서 정의되었습니다.

171 {
172 _ = _runtime.ConnectUdpPeerBAsync(
173 SelectedUdpProtocol,
174 SelectedUdpEncoding);
175 }

다음을 참조함 : _runtime, SelectedUdpEncoding, SelectedUdpProtocol.

◆ DisconnectUdpPeerA()

void SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.DisconnectUdpPeerA ( )
inline

UDP Peer A 연결을 해제합니다.

UdpPeerTestView.xaml.Event.cs 파일의 185 번째 라인에서 정의되었습니다.

186 {
187 _ = _runtime.DisconnectUdpPeerAAsync();
188 }

다음을 참조함 : _runtime.

◆ DisconnectUdpPeerB()

void SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.DisconnectUdpPeerB ( )
inline

UDP Peer B 연결을 해제합니다.

UdpPeerTestView.xaml.Event.cs 파일의 198 번째 라인에서 정의되었습니다.

199 {
200 _ = _runtime.DisconnectUdpPeerBAsync();
201 }

다음을 참조함 : _runtime.

◆ SendUdpPeerA()

void SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.SendUdpPeerA ( )
inline

UDP Peer A에서 Peer B로 메시지를 송신합니다.

UdpPeerTestView.xaml.Event.cs 파일의 211 번째 라인에서 정의되었습니다.

212 {
213 _ = _runtime.SendUdpPeerAAsync(
214 SelectedUdpProtocol,
215 UdpSendText,
216 SelectedUdpEncoding);
217 }

다음을 참조함 : _runtime, SelectedUdpEncoding, SelectedUdpProtocol, UdpSendText.

◆ SendUdpPeerB()

void SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.SendUdpPeerB ( )
inline

UDP Peer B에서 Peer A로 메시지를 송신합니다.

UdpPeerTestView.xaml.Event.cs 파일의 227 번째 라인에서 정의되었습니다.

228 {
229 _ = _runtime.SendUdpPeerBAsync(
230 SelectedUdpProtocol,
231 UdpSendText,
232 SelectedUdpEncoding);
233 }

다음을 참조함 : _runtime, SelectedUdpEncoding, SelectedUdpProtocol, UdpSendText.

◆ StartUdpLoopback()

void SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.StartUdpLoopback ( )
inline

UDP Peer A와 Peer B를 모두 시작합니다.

UdpPeerTestView.xaml.Event.cs 파일의 127 번째 라인에서 정의되었습니다.

128 {
129 _ = _runtime.StartUdpLoopbackAsync(
130 SelectedUdpProtocol,
131 SelectedUdpEncoding);
132 }

다음을 참조함 : _runtime, SelectedUdpEncoding, SelectedUdpProtocol.

◆ StopUdpLoopback()

void SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.StopUdpLoopback ( )
inline

UDP Peer A와 Peer B를 모두 종료합니다.

UdpPeerTestView.xaml.Event.cs 파일의 142 번째 라인에서 정의되었습니다.

143 {
144 _ = _runtime.StopAllUdpAsync();
145 }

다음을 참조함 : _runtime.

멤버 데이터 문서화

◆ _runtime

readonly CommunicationSampleRuntime SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent._runtime
private

runtime 값을 보관합니다.

UdpPeerTestView.xaml.Event.cs 파일의 24 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : ConnectUdpPeerA(), ConnectUdpPeerB(), DisconnectUdpPeerA(), DisconnectUdpPeerB(), SendUdpPeerA(), SendUdpPeerB(), StartUdpLoopback(), StopUdpLoopback(), UdpPeerTestViewEvent().

속성 문서화

◆ SelectedUdpEncoding

string SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.SelectedUdpEncoding
getset

선택된 UDP PlainText 인코딩입니다.

UdpPeerTestView.xaml.Event.cs 파일의 97 번째 라인에서 정의되었습니다.

97{ get; set; }

다음에 의해서 참조됨 : ConnectUdpPeerA(), ConnectUdpPeerB(), SendUdpPeerA(), SendUdpPeerB(), StartUdpLoopback(), UdpPeerTestViewEvent().

◆ SelectedUdpProtocol

string SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.SelectedUdpProtocol
getset

선택된 UDP 프로토콜입니다.

UdpPeerTestView.xaml.Event.cs 파일의 77 번째 라인에서 정의되었습니다.

77{ get; set; }

다음에 의해서 참조됨 : ConnectUdpPeerA(), ConnectUdpPeerB(), SendUdpPeerA(), SendUdpPeerB(), StartUdpLoopback(), UdpPeerTestViewEvent().

◆ UdpEndpointSummary

string SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.UdpEndpointSummary
get

UDP Peer 엔드포인트 요약입니다.

UdpPeerTestView.xaml.Event.cs 파일의 117 번째 라인에서 정의되었습니다.

◆ UdpProtocols

IReadOnlyList<string> SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.UdpProtocols
get

선택 가능한 UDP 프로토콜 목록입니다.

UdpPeerTestView.xaml.Event.cs 파일의 67 번째 라인에서 정의되었습니다.

◆ UdpSendText

string SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.UdpSendText
getset

UDP 송신 문자열입니다.

UdpPeerTestView.xaml.Event.cs 파일의 107 번째 라인에서 정의되었습니다.

107{ get; set; }

다음에 의해서 참조됨 : SendUdpPeerA(), SendUdpPeerB(), UdpPeerTestViewEvent().

◆ UdpTextEncodings

IReadOnlyList<string> SampleSmart.Pages.PageSub.CommunicationTabs.Udp.UdpPeerTestViewEvent.UdpTextEncodings
get

선택 가능한 UDP PlainText 인코딩 목록입니다.

UdpPeerTestView.xaml.Event.cs 파일의 87 번째 라인에서 정의되었습니다.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: