public GridTcpRestNioListener(IgniteLogger log,GridTcpRestProtocol proto,GridRestProtocolHandler hnd,GridKernalContext ctx){
  memcachedLsnr=new GridTcpMemcachedNioListener(log,hnd,ctx);
  this.log=log;
  this.proto=proto;
  this.hnd=hnd;
}

public GridTcpRestNioListener ( IgniteLogger log , GridTcpRestProtocol proto , GridRestProtocolHandler hnd , GridKernalContext ctx ) { memcachedLsnr = new GridTcpMemcachedNioListener ( log , hnd , ctx ) ; this . log = log ; this . proto = proto ; this . hnd = hnd ; }
creates listener which will convert incoming tcp packets to rest requests and forward them to a given rest handler .
