2
0
mirror of https://github.com/esiur/esiur-js.git synced 2026-04-04 05:58:22 +00:00
Files
esiur-js/src/Net/Sockets/ISocket.js
2021-03-10 01:25:20 +03:00

35 lines
656 B
JavaScript

"use strict";
import IDestructible from "../../Core/IDestructible.js";
import SocketState from "./SocketState.js";
export default class ISocket extends IDestructible
{
//SocketState State { get; }
//INetworkReceiver<ISocket> Receiver { get; set; }
constructor(){
super();
this.state = SocketState.Initial;
}
// get state() {}
sendAsync(message, offset, length) { }
send(message, offset, length) {}
close() {}
connect(hostname, port) {}
begin() {}
beginAsync() {}
acceptAsync() {}
accept() {}
get remoteEndPoint(){}
get localEndPoint() {}
hold() {}
unhold() {}
}