2
0
mirror of https://github.com/esiur/esiur-js.git synced 2026-04-04 05:58:22 +00:00
This commit is contained in:
2021-03-10 01:25:20 +03:00
parent ca2b89540a
commit a08519bde8
55 changed files with 4190 additions and 6679 deletions

View File

@@ -0,0 +1,34 @@
"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() {}
}