/**
  * Send a features request message to the switch using the handshake transactions ids.
  *
  * @throws IOException
  */
 private void sendFeaturesRequest() throws IOException {
   // Send initial Features Request
   OFFeaturesRequest m = factory.buildFeaturesRequest().setXid(handshakeTransactionIds--).build();
   write(m);
 }
Exemple #2
0
 /**
  * Send a features request message to the switch using the handshake transactions ids.
  *
  * @throws IOException
  */
 private void sendFeaturesRequest() throws IOException {
   // Send initial Features Request
   OFFeaturesRequest m = factory.buildFeaturesRequest().setXid(handshakeTransactionIds--).build();
   channel.write(Collections.singletonList(m));
 }