javax.net.websocket
Class SendResult

java.lang.Object
  extended by javax.net.websocket.SendResult

public class SendResult
extends Object

The result of asynchronously sending a web socket message.

Since:
DRAFT 002
Author:
dannycoward

Field Summary
 SendResult ERROR
          There was a problem sending the message.
 SendResult OK
          The message was transmitted ok.
 
Constructor Summary
SendResult()
           
 
Method Summary
 Exception getException()
          The problem sending the message.
 boolean sentOK()
          Determines if this result is ok or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public SendResult OK
The message was transmitted ok.


ERROR

public SendResult ERROR
There was a problem sending the message.

Constructor Detail

SendResult

public SendResult()
Method Detail

getException

public Exception getException()
The problem sending the message.


sentOK

public boolean sentOK()
Determines if this result is ok or not.



Copyright © 2012. All Rights Reserved.