//--------------------------------------------------------------------------------
// Stuff for Windows (as opposed to Linux)

//--------------------------------------------------------------------------------
// Stuff common to all patchman services
DontUseAES = 1;
DontUseTS = 1;
DontUseNS = 1;
UpdateAssertionThreadTimeout = 0;

// Common Filters
NegFiltersDebug		= { "NET", "VERBOSE", "GUSREP" };
NegFiltersInfo		= { "NET"  };
NegFiltersWarning	= { "NETL", "CT_LRC", "VAR:" };

// Setting up WIN displayer
WindowStyle = "WIN";
FontName = "Courier New";
FontSize = 9;

// For windows boxes we dissable out stdin thread
DontUseStdIn = 1;

// how to sleep between to network update
// 0 = pipe
// 1 = usleep
// 2 = nanosleep
// 3 = sched_yield
// 4 = nothing
UseYieldMethod = 0;


//--------------------------------------------------------------------------------
// Start Commands for configuring modules

StartCommands += 
{
	//------------------------------------------------------------------------------
	// Setup gateways

	// bridge gateway
//	"moduleManager.createModule StandardGateway gw1",
//	"gw1.transportAdd L3Client l3client",
//	"gw1.transportCmd l3client(connect addr=ep1.mini01.ryzomcore.local:44748)",

	// ats spm gateway
	"moduleManager.createModule StandardGateway gw2",
	"gw2.transportAdd L3Client l3client",
	"gw2.transportCmd l3client(connect addr=ep1.mini01.ryzomcore.local:44751)",


	//------------------------------------------------------------------------------
	// Setup for terminal

	// setup an 'spt' module to act as a terminal for the internal spm module
	"moduleManager.createModule ServerPatchTerminal terminal target=spm_mini01",
	"terminal.plug gw1",
	"terminal.plug gw2",
};


//--------------------------------------------------------------------------------
// Displayed Variables...

DisplayedVariables += 
{
		"@States|terminal.state *",
	"",	"@MINI01 Domains (Core Mini)|terminal.dump",
	"",	"@SPA States|terminal.state *spa",
		"@Deploy|terminal.uploadDepCfg",
		"@PAM States|terminal.state *pam",
		"@Update PAMs|terminal.on *pam installUpdate",
		"@Quit PAMs|terminal.on *pam quit",
	"", "SPT0",
	"", "SPT1",
	"", "SPT2",
	"", "SPT3",
	"", "SPT4",
	"", "SPT5",
//	"", "SPT6",
//	"", "SPT7",
//	"", "SPT8",
//	"", "SPT9",
//	"", "SPTA",
//	"", "SPTB",
//	"", "SPTC",
//	"", "SPTD",
//	"", "SPTE",
//	"", "SPTF",
//	"", "LastMsg|LastSPTMessage",
};
		
NumSPTWatches=5;