org.glassfish.tyrus
Class SendCompletionAdapter

java.lang.Object
  extended by org.glassfish.tyrus.SendCompletionAdapter

public class SendCompletionAdapter
extends Object

Simple Async send adapter. Should probably merge with RemoteEndpointWrapper at some point when things settle down. For now this is mediating the types and method calls.

Author:
Danny Coward (danny.coward at oracle.com)

Constructor Summary
SendCompletionAdapter(RemoteEndpointWrapper re, org.glassfish.tyrus.SendCompletionAdapter.State state)
           
 
Method Summary
 Future<SendResult> send(Object msg, SendHandler completion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendCompletionAdapter

public SendCompletionAdapter(RemoteEndpointWrapper re,
                             org.glassfish.tyrus.SendCompletionAdapter.State state)
Method Detail

send

public Future<SendResult> send(Object msg,
                               SendHandler completion)


Copyright © 2012. All Rights Reserved.