Minor ref changes

This commit is contained in:
RogueException
2016-03-04 05:50:51 -04:00
parent 0a07442b6e
commit 5a38129c18
4 changed files with 30 additions and 35 deletions

View File

@@ -1,5 +1,4 @@
using Discord.Logging;
using Discord.Net.Rest;
using Discord.Net.Rest;
using System;
using System.Collections.Generic;
using System.Threading;
@@ -7,25 +6,23 @@ using System.Threading.Tasks;
namespace Discord.Net.WebSockets
{
public class GatewaySocket : WebSocket
public class GatewaySocket
{
public string SessionId { get; private set; }
public string SessionId { get; }
public event EventHandler<WebSocketEventEventArgs> ReceivedDispatch = delegate { };
public GatewaySocket(DiscordConfig config, ILogger logger) : base(config, logger) { }
public Task Connect(RestClient rest, CancellationToken parentCancelToken) => null;
public Task Connect(IRestClient rest, CancellationToken parentCancelToken) => null;
public Task Disconnect() => null;
public void SendIdentify(string token) { }
public void SendResume() { }
public override void SendHeartbeat() { }
public void SendHeartbeat() { }
public void SendUpdateStatus(long? idleSince, string gameName) { }
public void SendUpdateVoice(ulong? serverId, ulong? channelId, bool isSelfMuted, bool isSelfDeafened) { }
public void SendRequestMembers(IEnumerable<ulong> serverId, string query, int limit) { }
public override void WaitForConnection(CancellationToken cancelToken) { }
public void WaitForConnection(CancellationToken cancelToken) { }
}
}