EventHandler < ActionEvent > function ( final ConnectionManager arg0 , final MqttAsyncConnection arg1 ) { return new EventHandler < ActionEvent > ( ) { public void handle ( ActionEvent arg2 ) { arg0 . disconnectFromBroker ( arg1 ) ; arg2 . consume ( ) ; } } ; }
creates an event handler with a disconnection action . concode_field_sep PlaceHolder placeHolder concode_field_sep EventHandler<ActionEvent> createDisconnectAndCloseAction concode_elem_sep EventHandler<ActionEvent> createConnectAction concode_elem_sep EventHandler<ActionEvent> createNextAction concode_elem_sep EventHandler<ActionEvent> createEmptyAction