io.crossbar.autobahn.wamp.utils.MessageUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of autobahn-java Show documentation
Show all versions of autobahn-java Show documentation
WebSocket & WAMP for Java8+
The newest version!
///////////////////////////////////////////////////////////////////////////////
//
// AutobahnJava - http://crossbar.io/autobahn
//
// Copyright (c) Crossbar.io Technologies GmbH and contributors
//
// Licensed under the MIT License.
// http://www.opensource.org/licenses/mit-license.php
//
///////////////////////////////////////////////////////////////////////////////
package io.crossbar.autobahn.wamp.utils;
import java.util.List;
import io.crossbar.autobahn.wamp.exceptions.ProtocolError;
public class MessageUtil {
/**
*
* Validate a raw WAMP message object based on supplied criteria.
*
* @param wmsg wamp message to validate
* @param messageType type of the wamp message
* @param lengthMin minimum number of items the wamp message is expected to have
* @param lengthMax maximum number of items the wamp message is expected to have
*/
public static void validateMessage(List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy