<?xml version="1.0" encoding="Shift_JIS" ?>


<SetMainInterpreter>-1</SetMainInterpreter>
<SetThisAgentName> server </SetThisAgentName>

<Load option="exec"> xlconf/std/agent.xl </Load>
<Load option="exec"> xlscript/std/agent.prefix.xl </Load>
<Load option="exec"> xlconf/std/agent.definition.xl </Load>
<Load option="exec"> xlconf/std/account.xl </Load>

<SetLogPath> (+ DatabaseRoot "xllog/" ) ^LogSize ^LogFileNo </SetLogPath>

<!-- Define the confirmation environment (ConfEnv).
	This env has only SetAgent function -->

<Define> ^ConfEnv 
	<NewEnvironment>()</NewEnvironment>
</Define>
<MoveDefine> ^Sync
	<CurrentEnvironment/> ^ConfEnv </MoveDefine>
<MoveDefine> ^SetAgent
	<CurrentEnvironment/> ^ConfEnv </MoveDefine>
<MoveDefine> ^GetPrefixMode
	<CurrentEnvironment/> ^ConfEnv </MoveDefine>

<!-- Open the accept port  -->

<OpenInterpreter>
	accept
	^ConfEnv

	<Port> ^ServerPort </Port>
	<MaxConnection> 10 </MaxConnection>
	<ConnectionTimeout> ^MaxConnectionTime </ConnectionTimeout>
	<SilentTimeout> ^MaxSilentTime </SilentTimeout>
	<Load option="exec"> xlconf/std/network.permission.xl </Load>
</OpenInterpreter>

