* Increased SIMULATOR_TIMEOUT to 30 seconds
* Converted all timers to System.Threading timers to fix problems running in services and the CF * UDPBase now uses our own ReaderWriterLock that is more efficient, and CF compatible * Login uses a hand-created LoginProxy object instead of dynamically building the class with reflection .Emit() * Replaced ParameterizedThreadStart calls with class-wide variables for CF compat. * Removed transfer timeout code (irrelevant now that uploads go through CAPS) * Added several new Helpers methods to wrap desktop and CF conditional code * Replaced Monitor calls with AutoResetEvent in BlockingQueue * InventoryNodeDictionary uses generics now * Removed final lingering piece of XML serialization * Added CookComputing.XmlRpc.CF.dll for the CF git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1479 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -14,8 +14,7 @@ namespace libsecondlife.TestClient
|
||||
private static void Usage()
|
||||
{
|
||||
Console.WriteLine("Usage: " + Environment.NewLine +
|
||||
"TestClient.exe --first firstname --last lastname --pass password --contact \"youremail\" [--startpos \"sim/x/y/z\"] [--master \"master name\"] [--masterkey \"master uuid\"]" +
|
||||
Environment.NewLine + "TestClient.exe --file filename --contact \"youremail\" [--master \"master name\"] [--masterkey \"master uuid\"]");
|
||||
"TestClient.exe --first firstname --last lastname --pass password --contact \"youremail\" [--startpos \"sim/x/y/z\"] [--master \"master name\"] [--masterkey \"master uuid\"] --loginuri=\"uri\"");
|
||||
}
|
||||
|
||||
static void Main(string[] args)
|
||||
@@ -29,6 +28,7 @@ namespace libsecondlife.TestClient
|
||||
LLUUID masterKey = LLUUID.Zero;
|
||||
string file = String.Empty;
|
||||
string contact = String.Empty;
|
||||
string loginuri = String.Empty;
|
||||
|
||||
try
|
||||
{
|
||||
@@ -42,10 +42,19 @@ namespace libsecondlife.TestClient
|
||||
masterName = arguments["master"];
|
||||
}
|
||||
|
||||
if (arguments["contact"] == null)
|
||||
throw new CommandLineArgumentsException();
|
||||
if (arguments["contact"] != null)
|
||||
{
|
||||
contact = arguments["contact"];
|
||||
}
|
||||
else
|
||||
{
|
||||
contact = "anonymous";
|
||||
}
|
||||
|
||||
contact = arguments["contact"];
|
||||
if (arguments["loginuri"] != null)
|
||||
{
|
||||
loginuri = arguments["loginuri"];
|
||||
}
|
||||
|
||||
if (arguments["file"] != null)
|
||||
{
|
||||
@@ -123,6 +132,7 @@ namespace libsecondlife.TestClient
|
||||
{
|
||||
a.MasterName = masterName;
|
||||
a.MasterKey = masterKey;
|
||||
a.URI = loginuri;
|
||||
}
|
||||
|
||||
// Login the accounts and run the input loop
|
||||
|
||||
Reference in New Issue
Block a user