client.onError( null, Event.MESSAGE_PARSE_ERROR, "Unknown action " + parts[ 1 ] );
return null;
}
return new Message( message, Topic.getTopic( parts[ 0 ] ), Actions.getAction( parts[ 1 ] ), Arrays.copyOfRange( parts, 2, parts.length ) );
}
<BUG>static Object convertTyped( String value, IDeepstreamClient client ) {
</BUG>
char type = value.charAt(0);
if( Types.getType( type ) == Types.STRING ) {
return value.substring( 1 );

client.onError( null, Event.MESSAGE_PARSE_ERROR, "Unknown action " + parts[ 1 ] );
return null;
}
return new Message( message, Topic.getTopic( parts[ 0 ] ), Actions.getAction( parts[ 1 ] ), Arrays.copyOfRange( parts, 2, parts.length ) );
}
static Object convertTyped( String value, DeepstreamClientAbstract client ) {
char type = value.charAt(0);
if( Types.getType( type ) == Types.STRING ) {
return value.substring( 1 );
