mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-06 07:53:47 +00:00
Cleanup
This commit is contained in:
@@ -9,10 +9,8 @@ namespace qController.Communication
|
||||
{
|
||||
public class QClient
|
||||
{
|
||||
TCPClient tcpClient;
|
||||
UDPSender udpSender;
|
||||
private TCPClient tcpClient;
|
||||
public QParser qParser;
|
||||
public QReceiver qReceiver;
|
||||
string Address;
|
||||
int Port;
|
||||
|
||||
@@ -21,13 +19,10 @@ namespace qController.Communication
|
||||
Address = address;
|
||||
Port = port;
|
||||
qParser = new QParser();
|
||||
//qReceiver = new QReceiver(Port + 1);
|
||||
tcpClient = new TCPClient(Address, Port);
|
||||
tcpClient.Connect();
|
||||
//udpSender = new UDPSender(Address, Port);
|
||||
|
||||
tcpClient.MessageReceived += OnMessageReceived;
|
||||
//qReceiver.UpdateMessageReceived += OnMessageReceived;
|
||||
|
||||
}
|
||||
|
||||
@@ -51,21 +46,6 @@ namespace qController.Communication
|
||||
ProcessUpdate(args.Message);
|
||||
}
|
||||
|
||||
//public void sendUDP(string address)
|
||||
//{
|
||||
// //Log.Debug($"QCLIENT - UDP Sent with address: {address}");
|
||||
// udpSender = new UDPSender(Address,Port);
|
||||
// udpSender.Send(new OscMessage(address));
|
||||
// udpSender.Close();
|
||||
//}
|
||||
//public void sendUDP(string address, params object[] args)
|
||||
//{
|
||||
// //Log.Debug($"QCLIENT - UDP Sent with address: {address}");
|
||||
// udpSender = new UDPSender(Address, Port);
|
||||
// udpSender.Send(new OscMessage(address, args));
|
||||
// udpSender.Close();
|
||||
//}
|
||||
|
||||
public void sendTCP(string address)
|
||||
{
|
||||
//Log.Debug($"QCLIENT - TCP Sent with address: {address}");
|
||||
|
||||
Reference in New Issue
Block a user