Class KavenAbstractSocket<TSocket, TMessage>Abstract
Constructors
constructor
- new KavenAbstractSocket<TSocket, TMessage>(socket): KavenAbstractSocket<TSocket, TMessage>
Accessors
Connected
- get Connected(): IKavenLiteEvent<TSocket, this>
DataReceived
- get DataReceived(): IKavenLiteEvent<TMessage, this>
Disconnected
- get Disconnected(): IKavenLiteEvent<TSocket, this>
Socket
- get Socket(): TSocket
Returns TSocket
Methods
Protected
OnConnected
- OnConnected(): boolean
Returns boolean
Protected
OnDataReceived
- OnDataReceived(data): boolean
Returns boolean
Protected
OnDisconnected
- OnDisconnected(): boolean
Returns boolean
Protected
Reconnect
- Reconnect(socket): void
Returns void
Abstract
Send
- Send(msg): void
Returns void