Beispiel #1
0
 static Robot()
 {
   Thread.MemoryBarrier();
   Robot.configurableFactory = (IOStreamFactory) new Robot\u00241();
   Robot.__\u003C\u003Eclient = new NetworkTableClient(Robot.configurableFactory);
   Robot.provider = new NetworkTableProvider((NetworkTableNode) Robot.__\u003C\u003Eclient);
   NetworkTable.setTableProvider(Robot.provider);
 }
 public override NetworkTableNode createNode([In] string obj0, [In] int obj1, [In] NTThreadManager obj2)
 {
   if (obj0 == null)
   {
     string str = "IP address cannot be null when in client mode";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
   {
     NetworkTableClient networkTableClient = new NetworkTableClient(SocketStreams.newStreamFactory(obj0, obj1), new NetworkTableEntryTypeManager(), obj2);
     networkTableClient.reconnect();
     return (NetworkTableNode) networkTableClient;
   }
 }