wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java
private void executeWffBMTask(final byte[] message)
            throws UnsupportedEncodingException {

        final List<NameValue> nameValues = WffBinaryMessageUtil.VERSION_1
                .parse(message);

        final NameValue task = nameValues.get(0);
        final byte taskValue = task.getValues()[0][0];

        if (Task.TASK.getValueByte() == task.getName()[0]) {

            // IM stands for Invoke Method
            if (taskValue == Task.INVOKE_ASYNC_METHOD.getValueByte()) {

                invokeAsychMethod(nameValues);

            } else if (taskValue == Task.INVOKE_CUSTOM_SERVER_METHOD
                    .getValueByte()) {

                invokeCustomServerMethod(nameValues);

            } else if (taskValue == Task.REMOVE_BROWSER_PAGE.getValueByte()) {

                removeBrowserPageFromContext(nameValues);

            }

        }

    }
private void executeWffBMTask(final byte[] message)
            throws UnsupportedEncodingException {

        final List<NameValue> nameValues = WffBinaryMessageUtil.VERSION_1
                .parse(message);

        final NameValue task = nameValues.get(0);
        final byte taskValue = task.getValues()[0][0];

        if (Task.TASK.getValueByte() == task.getName()[0]) {

            // IM stands for Invoke Method
            if (taskValue == Task.INVOKE_ASYNC_METHOD.getValueByte()) {

                invokeAsychMethod(nameValues);

            } else if (taskValue == Task.INVOKE_CUSTOM_SERVER_METHOD
                    .getValueByte()) {

                invokeCustomServerMethod(nameValues);

            } else if (taskValue == Task.REMOVE_BROWSER_PAGE.getValueByte()) {

                removeBrowserPageFromContext(nameValues);

            }

        }

    }
private void executeWffBMTask ( final byte [ ] message ) throws UnsupportedEncodingException { final List < NameValue > nameValues = WffBinaryMessageUtil . VERSION_1 . parse ( message ) ; final NameValue task = nameValues . get ( 0 ) ; final byte taskValue = task . getValues ( ) [ 0 ] [ 0 ] ; if ( Task . TASK . getValueByte ( ) == task . getName ( ) [ 0 ] ) { // IM stands for Invoke Method if ( taskValue == Task . INVOKE_ASYNC_METHOD . getValueByte ( ) ) { invokeAsychMethod ( nameValues ) ; } else if ( taskValue == Task . INVOKE_CUSTOM_SERVER_METHOD . getValueByte ( ) ) { invokeCustomServerMethod ( nameValues ) ; } else if ( taskValue == Task . REMOVE_BROWSER_PAGE . getValueByte ( ) ) { removeBrowserPageFromContext ( nameValues ) ; } } }
executes the task in the given wff binary message. <br>
For WFF authors :- Make sure that the passing {@code message} is not
empty while consuming this method, just as made conditional checking in
{@code BrowserPage#webSocketMessaged(byte[])} method.

@since 2.0.0
@author WFF
@throws UnsupportedEncodingException
throwing this exception will be
removed in future version
because its internal
implementation will never make
this exception due to the code
changes since 3.0.1.
executes the task in the given wff binary message . <br > For WFF authors : - Make sure that the passing { @code message } is not empty while consuming this method just as made conditional checking in { @code BrowserPage#webSocketMessaged ( byte [] ) } method .