Ejemplo n.º 1
0
 private void doSetUp(InetAddress address) throws UnknownHostException {
   responseData = null;
   try {
     messenger = new UdpMessenger(6666);
   } catch (SocketException e1) {
     fail(e1.getMessage());
   }
   if (machine == null) {
     machine = new ipmi.sm.StateMachine(messenger);
     machine.register(this);
     try {
       machine.start(address);
       Thread.sleep(200);
     } catch (Exception e) {
       fail(e.getMessage());
     }
   }
 }