RemoteEndpoint.Async (Java(TM) EE 7 Specification APIs) (original) (raw)


public static interface RemoteEndpoint.Async
extends RemoteEndpoint
This representation of the peer of a web socket conversation has the ability to send messages asynchronously. The point of completion of the send is defined when all the supplied data has been written to the underlying connection. The completion handlers for the asynchronous methods are always called with a different thread from that which initiated the send.

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.