2007-04-28 20:54:02 +00:00
|
|
|
using System;
|
2008-07-21 21:12:59 +00:00
|
|
|
using OpenMetaverse;
|
2007-04-28 20:54:02 +00:00
|
|
|
|
2008-07-21 21:12:59 +00:00
|
|
|
namespace OpenMetaverse.TestClient
|
2007-04-28 20:54:02 +00:00
|
|
|
{
|
|
|
|
|
public class PacketLogCommand : Command
|
|
|
|
|
{
|
|
|
|
|
public PacketLogCommand(TestClient testClient)
|
|
|
|
|
{
|
|
|
|
|
Name = "packetlog";
|
|
|
|
|
Description = "Logs a given number of packets to an xml file. Usage: packetlog 10 tenpackets.xml";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string Execute(string[] args, LLUUID fromAgentID)
|
|
|
|
|
{
|
|
|
|
|
if (args.Length != 2)
|
|
|
|
|
return "Usage: packetlog 10 tenpackets.xml";
|
|
|
|
|
|
2007-12-21 02:25:36 +00:00
|
|
|
return "This function is currently unimplemented";
|
2007-04-28 20:54:02 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|