|
Dreamine.IO.Fastech.Ethernet 1.0.1
Dreamine.IO.Fastech.Ethernet 산업 자동화 및 I/O 기능을 제공합니다.
|


Public 멤버 함수 | |
| Task< IoResult > | ConnectAsync (CancellationToken cancellationToken=default) |
| Task< IoResult > | DisconnectAsync (CancellationToken cancellationToken=default) |
| Task< IoResult< byte[]> > | SendAndReceiveAsync (IReadOnlyList< byte > requestFrame, int receiveTimeoutMs, int expectedResponseLength, CancellationToken cancellationToken=default) |
속성 | |
| bool | IsConnected [get] |
Fastech Ethernet I/O 통신의 연결 및 요청/응답 전송 계약을 정의합니다.
IFastechEthernetIoTransport.cs 파일의 13 번째 라인에서 정의되었습니다.
| Task< IoResult > Dreamine.IO.Fastech.Ethernet.Transport.IFastechEthernetIoTransport.ConnectAsync | ( | CancellationToken | cancellationToken = default | ) |
전송을 비동기적으로 연결합니다.
| cancellationToken | 연결 취소 토큰입니다. |
Dreamine.IO.Fastech.Ethernet.Transport.TcpFastechEthernetIoTransport, Dreamine.IO.Fastech.Ethernet.Transport.UdpFastechEthernetIoTransport에서 구현되었습니다.
| Task< IoResult > Dreamine.IO.Fastech.Ethernet.Transport.IFastechEthernetIoTransport.DisconnectAsync | ( | CancellationToken | cancellationToken = default | ) |
전송 연결을 비동기적으로 해제합니다.
| cancellationToken | 연결 해제 취소 토큰입니다. |
Dreamine.IO.Fastech.Ethernet.Transport.TcpFastechEthernetIoTransport, Dreamine.IO.Fastech.Ethernet.Transport.UdpFastechEthernetIoTransport에서 구현되었습니다.
| Task< IoResult< byte[]> > Dreamine.IO.Fastech.Ethernet.Transport.IFastechEthernetIoTransport.SendAndReceiveAsync | ( | IReadOnlyList< byte > | requestFrame, |
| int | receiveTimeoutMs, | ||
| int | expectedResponseLength, | ||
| CancellationToken | cancellationToken = default ) |
요청 프레임을 전송하고 대응하는 응답 프레임을 수신합니다.
| requestFrame | 전송할 요청 바이트입니다. |
| receiveTimeoutMs | 수신 시간 제한(밀리초)입니다. |
| expectedResponseLength | 예상 응답 길이이며 0이면 첫 패킷을 읽습니다. |
| cancellationToken | 교환 취소 토큰입니다. |
Dreamine.IO.Fastech.Ethernet.Transport.TcpFastechEthernetIoTransport, Dreamine.IO.Fastech.Ethernet.Transport.UdpFastechEthernetIoTransport에서 구현되었습니다.
|
get |
전송이 연결되어 있는지 여부를 가져옵니다.
Dreamine.IO.Fastech.Ethernet.Transport.TcpFastechEthernetIoTransport, Dreamine.IO.Fastech.Ethernet.Transport.UdpFastechEthernetIoTransport에서 구현되었습니다.
IFastechEthernetIoTransport.cs 파일의 23 번째 라인에서 정의되었습니다.