Dreamine.Communication.Sockets 1.0.2
Dreamine.Communication.Sockets 통신 기능과 관련 API를 제공합니다.
로딩중...
검색중...
일치하는것 없음
Dreamine.Communication.Sockets.Servers.TcpServerTransport.TcpClientConnectionEntry 클래스 참조sealed

더 자세히 ...

Public 멤버 함수

 TcpClientConnectionEntry (Guid clientId, TcpClient client, DateTimeOffset connectedAt)

속성

Guid ClientId [get]
TcpClient Client [get]
DateTimeOffset ConnectedAt [get]
SemaphoreSlim SendLock = new(1, 1) [get]

상세한 설명

서버가 수락한 TCP 클라이언트의 식별자, 소켓, 연결 시각 및 송신 동기화를 보관합니다.

TcpServerTransport.cs 파일의 1087 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

◆ TcpClientConnectionEntry()

Dreamine.Communication.Sockets.Servers.TcpServerTransport.TcpClientConnectionEntry.TcpClientConnectionEntry ( Guid clientId,
TcpClient client,
DateTimeOffset connectedAt )
inline

클라이언트 식별자, 소켓 및 연결 시각으로 연결 정보를 초기화합니다.

매개변수
clientId연결 식별자입니다.
client연결된 TCP 클라이언트입니다.
connectedAt연결이 수락된 시각입니다.
예외
ArgumentNullExceptionclientnull인 경우 발생합니다.

TcpServerTransport.cs 파일의 1129 번째 라인에서 정의되었습니다.

1133 {
1134 ClientId = clientId;
1135 Client = client ?? throw new ArgumentNullException(nameof(client));
1136 ConnectedAt = connectedAt;
1137 }

다음을 참조함 : Client, ClientId, ConnectedAt.

속성 문서화

◆ Client

TcpClient Dreamine.Communication.Sockets.Servers.TcpServerTransport.TcpClientConnectionEntry.Client
get

연결된 TCP 클라이언트를 가져옵니다.

TcpServerTransport.cs 파일의 1157 번째 라인에서 정의되었습니다.

1157{ get; }

다음에 의해서 참조됨 : Dreamine.Communication.Sockets.Servers.TcpServerTransport.SendToClientAsync(), TcpClientConnectionEntry().

◆ ClientId

Guid Dreamine.Communication.Sockets.Servers.TcpServerTransport.TcpClientConnectionEntry.ClientId
get

클라이언트 연결 식별자를 가져옵니다.

TcpServerTransport.cs 파일의 1147 번째 라인에서 정의되었습니다.

1147{ get; }

다음에 의해서 참조됨 : Dreamine.Communication.Sockets.Servers.TcpServerTransport.SendToClientAsync(), TcpClientConnectionEntry().

◆ ConnectedAt

DateTimeOffset Dreamine.Communication.Sockets.Servers.TcpServerTransport.TcpClientConnectionEntry.ConnectedAt
get

연결이 수락된 시각을 가져옵니다.

TcpServerTransport.cs 파일의 1167 번째 라인에서 정의되었습니다.

1167{ get; }

다음에 의해서 참조됨 : TcpClientConnectionEntry().

◆ SendLock

SemaphoreSlim Dreamine.Communication.Sockets.Servers.TcpServerTransport.TcpClientConnectionEntry.SendLock = new(1, 1)
get

이 클라이언트에 대한 프레임 쓰기를 직렬화하는 잠금을 가져옵니다.

TcpServerTransport.cs 파일의 1177 번째 라인에서 정의되었습니다.

1177{ get; } = new(1, 1);

다음에 의해서 참조됨 : Dreamine.Communication.Sockets.Servers.TcpServerTransport.SendToClientAsync().


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