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

public.javadoc.org.spincast.plugins.undertow.UndertowWebsocketEndpointWriter.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






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












org.spincast.plugins.undertow

Interface UndertowWebsocketEndpointWriter

    • Method Detail

      • sendMessage

        void sendMessage(Set<String> peerIds,
                         byte[] bytes,
                         WebsocketPeersWriteCallback callback)
        Sends a byte array message to specific peers.
        Throws:
        PeersClosedWriteException - if some peers connections were found to be closed when trying to write.
      • sendClosingConnection

        void sendClosingConnection(int closingCode,
                                   String closingReason,
                                   Set<String> peerIds,
                                   ClosedEventSentCallback callback)
        Sends a "closing connection" message to specified peers. No exception thrown if the message can't be sent.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy