📄 cwp130.htm
字号:
<!-- saved from url=(0007)http:// -->
<HTML>
<HEaD>
<METa http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE> Incesoft.BotPlatform.SDK.Interface.IRobotServer</TITLE>
<LINK REL=STYLESHEET HREF="../CommentReport.css" TYPE="text/css">
</HEaD>
<BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image: url(../titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" >
<DIV class="PageHeading"> Incesoft.BotPlatform.SDK.Interface.IRobotServer Interface </DIV>
<DIV class="Description">
Robot Server can be created by <a HREF="CWP161.HTM" TaRGET="CNTFRAME">RobotServerFactory</a>.<br/>
Generating several Robot Servers is recommended, when there are large numbers of users. Robot Servers can run on one or more physical machines.
<P>
</DIV>
<IMG src="../GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2">
<IMG src="../GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1">
<DIV class="Remarks">
<SPaN class="RemarkHdrX">Visit: </SPaN>Public</DIV>
<TABLE class="InfoTABLE" cellpadding=0 cellspacing=0>
<TR height=20>
<TD width=20> </TD>
<TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD>
<TD class="TABLELightLabel" WIDTH=206>Members</TD>
<TD class="TABLELightLabel" >Description</TD>
<TD width=20> </TD>
</TR>
<TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP131.HTM" TaRGET="CNTFRAME">login</a><p></TD>
<TD class="TABLELightDesc">
Calling this function, Robot Server will login BOTPLATFORM. It's a synchronous operation, using default timeout(1 minute). During the login process, if no exception raises, login succeeds. Otherwise, please catch the exception and check exception message explains why login failed. During the server running, after login, if any exception raised they would be catched and printed in System.Console.out output stream. To get these exception message, please use System.Console.Setout to redirect System.Console.out output stream. <br/>
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP132.HTM" TaRGET="CNTFRAME">login</a><p></TD>
<TD class="TABLELightDesc">
Another overloading of login function, using assigned timeout<br/>
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP133.HTM" TaRGET="CNTFRAME">logout</a><p></TD>
<TD class="TABLELightDesc">
Operation of Robot Server logout BOTPLATFORM.
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP201.HTM" TaRGET="CNTFRAME">createSession</a><p></TD>
<TD class="TABLELightDesc">
Create a robot session. ( ** Only available in enterprise version ** )
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP134.HTM" TaRGET="CNTFRAME">setReconnectedSupport</a><p></TD>
<TD class="TABLELightDesc">
Set reconnection support. Default setting is on. When network errors occur,
Robot Server will login BOTPLATFORM again automatically.
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP135.HTM" TaRGET="CNTFRAME">isReconnectedSupport</a><p></TD>
<TD class="TABLELightDesc">
Return whether support reconnection
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP136.HTM" TaRGET="CNTFRAME">addRobotHandler</a><p></TD>
<TD class="TABLELightDesc">
Add Robot Server event handler
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP138.HTM" TaRGET="CNTFRAME">removeRobotHandler</a><p></TD>
<TD class="TABLELightDesc">
Remove Robot Server event handler
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP139.HTM" TaRGET="CNTFRAME">addConnectionListener</a><p></TD>
<TD class="TABLELightDesc">
Add Robot Server connection Listener
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP141.HTM" TaRGET="CNTFRAME">removeConnectionistener</a><p></TD>
<TD class="TABLELightDesc">
Remove Robot Server connection listener
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP171.HTM" TaRGET="CNTFRAME">setDisplayName</a><p></TD>
<TD class="TABLELightDesc">
Set display name of the robot
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP172.HTM" TaRGET="CNTFRAME">setPersonalMessage</a><p></TD>
<TD class="TABLELightDesc">
Set personal message of the robot
<P>
</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc"><a HREF="CWP173.HTM" TaRGET="CNTFRAME">setDisplayPicture</a><p></TD>
<TD class="TABLELightDesc">
Set display picture of the robot
<P>
</TD>
<TD width=20> </TD>
</TR></TABLE>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -