feat: create window client app
This commit is contained in:
20
Client/Domain/Transports/TransportInterface.cs
Normal file
20
Client/Domain/Transports/TransportInterface.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Transports
|
||||
{
|
||||
public interface TransportInterface
|
||||
{
|
||||
public event DelegateMessage Message;
|
||||
|
||||
bool IsConnected();
|
||||
Task ConnectAsync();
|
||||
Task SendAsync(string data);
|
||||
Task StartReceiveAsync();
|
||||
|
||||
public delegate void DelegateMessage(string args);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user