コード例 #1
0
 /**
  * If we lose connection trigger the connect logic to attempt to reconnect to the IBM Internet
  * of Things Foundation.
  *
  * @param exception Throwable which caused the connection to get lost
  */
 public void connectionLost(Throwable exception) {
   final String METHOD = "connectionLost";
   LoggerUtility.info(CLASS_NAME, METHOD, exception.getMessage());
   reconnect();
 }