Merge pull request #1484 from bartico6/general-devel

Change field visibility
This commit is contained in:
Ivan 2017-08-04 13:47:26 +02:00 committed by GitHub
commit 5f78bbb63f

View file

@ -12,23 +12,23 @@ namespace TShockAPI.Sockets
{
public class LinuxTcpSocket : ISocket
{
private byte[] _packetBuffer = new byte[1024];
public byte[] _packetBuffer = new byte[1024];
private int _packetBufferLength;
public int _packetBufferLength;
private List<object> _callbackBuffer = new List<object>();
public List<object> _callbackBuffer = new List<object>();
private int _messagesInQueue;
public int _messagesInQueue;
private TcpClient _connection;
public TcpClient _connection;
private TcpListener _listener;
public TcpListener _listener;
private SocketConnectionAccepted _listenerCallback;
public SocketConnectionAccepted _listenerCallback;
private RemoteAddress _remoteAddress;
public RemoteAddress _remoteAddress;
private bool _isListening;
public bool _isListening;
public int MessagesInQueue
{