public void LogOnAsBatch(string accountName) { var p = new ProtoLogOnBatchTask(accountName); _server.RegisterProtoTask(p); }