public bool Handle(IPacket header, IIBLVMSocket socket) { if (header.Type == PacketType.ManagerDrivesRequest) { Utils.PacketValidation(socket.Status, (int)ClientSocketStatus.LoggedIn, header.GetPayloadSize(), false); IPayload <IDevice> packet = socket.PacketFactory.CreateManagerDrivesRequest(null); packet.ParsePayload(header.GetPayloadSize(), socket.SocketStream); Utils.SendPacket(socket.SocketStream, socket.PacketFactory.CreateServerDrivesResponse(broadcaster.RequestDrives(packet.Payload))); return(true); } return(false); }