void function ( ) { Connection loc0 = Connections . getInstance ( context ) . getConnection ( clientHandle ) ; loc0 . changeConnectionStatus ( Connection . ConnectionStatus . CONNECTED ) ; loc0 . addAction ( "srini_string" ) ; }
a connection action has been successfully completed , update the connection object associated with the client this action belongs to and then notify the user of success . concode_field_sep Context context concode_elem_sep Action action concode_elem_sep String clientHandle concode_elem_sep String[] additionalArgs concode_field_sep void disconnect concode_elem_sep void disconnect concode_elem_sep void subscribe concode_elem_sep void subscribe concode_elem_sep void unsubscribe concode_elem_sep void unsubscribe concode_elem_sep void publish concode_elem_sep void publish concode_elem_sep void onFailure concode_elem_sep void onSuccess