Exemplo n.º 1
0
        public Connection build()
        {
            Connection connect = null;

            connect = new Connection(robotmode);
            ConnectionPipeline pipeLine = new ConnectionPipeline(connect);

            connect.setPipeline(pipeLine);
            if (actionAddHandler != null)
            {
                actionAddHandler(pipeLine);
            }
            connect.Ip   = _ipAdress;
            connect.Port = port;
            return(connect);
        }
Exemplo n.º 2
0
 public void setPipeline(ConnectionPipeline pipe)
 {
     this.pipeLine = pipe;
 }