All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.core.websocket.WebsocketEndpointWriter.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






WebsocketEndpointWriter (org.spincast:spincast-framework 1.0.0 API)












org.spincast.core.websocket

Interface WebsocketEndpointWriter

    • Method Detail

      • sendMessage

        void sendMessage(String message)
        Sends a String message to all peers of the endpoint.
      • sendMessage

        void sendMessage(String peerId,
                         String message)
        Sends a String message to a specific peer.
      • sendMessage

        void sendMessage(Set<String> peerIds,
                         String message)
        Sends a String message to specific peers.
      • sendMessageExcept

        void sendMessageExcept(String peerId,
                               String message)
        Sends a String message to all peers except the specified one.
      • sendMessageExcept

        void sendMessageExcept(Set<String> peerIds,
                               String message)
        Sends a String message to all peers except the specified ones.
      • sendMessage

        void sendMessage(byte[] message)
        Sends a byte array message to all peers of the endpoint.
      • sendMessage

        void sendMessage(String peerId,
                         byte[] message)
        Sends a byte array message to a specific peer.
      • sendMessage

        void sendMessage(Set<String> peerIds,
                         byte[] message)
        Sends a byte array message to specific peers.
      • sendMessageExcept

        void sendMessageExcept(String peerId,
                               byte[] message)
        Sends a byte array message to all peers except the specified one.
      • sendMessageExcept

        void sendMessageExcept(Set<String> peerIds,
                               byte[] message)
        Sends a byte array message to all peers except the specified ones.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy