com.incesoft.botplatform.sdk
Class RobotServerFactory

java.lang.Object
  extended by com.incesoft.botplatform.sdk.RobotServerFactory
Direct Known Subclasses:
DefaultRobotServerFactory

public abstract class RobotServerFactory
extends java.lang.Object

Robot server factory to generate robot server instance.

Author:
LiBo

Constructor Summary
RobotServerFactory()
           
 
Method Summary
abstract  RobotServer createRobotServer(java.lang.String ip, int port)
          Create a RobotServer instance
static RobotServerFactory getInstance()
          Get RobotServerFactory instance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RobotServerFactory

public RobotServerFactory()
Method Detail

getInstance

public static RobotServerFactory getInstance()
Get RobotServerFactory instance


createRobotServer

public abstract RobotServer createRobotServer(java.lang.String ip,
                                              int port)
Create a RobotServer instance

Parameters:
ip - IP of BOTPLATFORM for RobotServer to login
port - Port of BOTPLATFORM for RobotServer to login