SMBServer: Marked methods required for asynchronous operation as internal

This commit is contained in:
Tal Aloni 2017-07-25 11:21:30 +03:00
parent d0b8ad25f1
commit 2698498c8b
3 changed files with 3 additions and 3 deletions

View file

@ -146,7 +146,7 @@ namespace SMBLibrary.Server.SMB1
} }
} }
private static List<SMB1Command> GetNTTransactResponse(byte[] responseSetup, byte[] responseParameters, byte[] responseData, int maxBufferSize) internal static List<SMB1Command> GetNTTransactResponse(byte[] responseSetup, byte[] responseParameters, byte[] responseData, int maxBufferSize)
{ {
if (NTTransactResponse.CalculateMessageSize(responseSetup.Length, responseParameters.Length, responseData.Length) <= maxBufferSize) if (NTTransactResponse.CalculateMessageSize(responseSetup.Length, responseParameters.Length, responseData.Length) <= maxBufferSize)
{ {

View file

@ -287,7 +287,7 @@ namespace SMBLibrary.Server
return new ErrorResponse(command.CommandName); return new ErrorResponse(command.CommandName);
} }
private static void EnqueueMessage(ConnectionState state, SMB1Message response) internal static void EnqueueMessage(ConnectionState state, SMB1Message response)
{ {
SessionMessagePacket packet = new SessionMessagePacket(); SessionMessagePacket packet = new SessionMessagePacket();
packet.Trailer = response.GetBytes(); packet.Trailer = response.GetBytes();

View file

@ -201,7 +201,7 @@ namespace SMBLibrary.Server
return new ErrorResponse(command.CommandName, NTStatus.STATUS_NOT_SUPPORTED); return new ErrorResponse(command.CommandName, NTStatus.STATUS_NOT_SUPPORTED);
} }
private static void EnqueueResponse(ConnectionState state, SMB2Command response) internal static void EnqueueResponse(ConnectionState state, SMB2Command response)
{ {
SessionMessagePacket packet = new SessionMessagePacket(); SessionMessagePacket packet = new SessionMessagePacket();
packet.Trailer = response.GetBytes(); packet.Trailer = response.GetBytes();