using System; using System.Collections.Generic; using System.Linq; using System.Text; using XSockets.Client; namespace H_Man { public class XSocketsClient { private XSocketClient client; public XSocketsClient() { this.client = new XSocketClient(Config.XSOCKET_SERVER_ENDPOINT, "*"); this.client.OnOpen += socket_OnOpen; this.client.OnError += socket_OnError; this.client.OnMessage += socket_OnMessage; } private void Connect() { this.client.Open(); } private void socket_OnMessage(object sender, XSockets.Core.Common.Socket.Event.Arguments.TextArgs e) { throw new NotImplementedException(); } private void socket_OnError(object sender, XSockets.Core.Common.Socket.Event.Arguments.TextArgs e) { throw new NotImplementedException(); } private void socket_OnOpen(object sender, EventArgs e) { throw new NotImplementedException(); } } }