org.glassfish.tyrus.spi.grizzlyprovider
Class GrizzlyRemoteEndpoint
java.lang.Object
org.glassfish.tyrus.spi.grizzlyprovider.GrizzlyRemoteEndpoint
- All Implemented Interfaces:
- SPIRemoteEndpoint
public class GrizzlyRemoteEndpoint
- extends Object
- implements SPIRemoteEndpoint
- Author:
- dannycoward
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrizzlyRemoteEndpoint
public GrizzlyRemoteEndpoint(org.glassfish.grizzly.websockets.WebSocket socket)
get
public static GrizzlyRemoteEndpoint get(org.glassfish.grizzly.websockets.WebSocket socket)
remove
public static void remove(org.glassfish.grizzly.websockets.WebSocket socket)
isConnected
public boolean isConnected()
- Specified by:
isConnected in interface SPIRemoteEndpoint
send
public void send(String data)
throws IOException
- Specified by:
send in interface SPIRemoteEndpoint
- Throws:
IOException
send
public void send(byte[] data)
throws IOException
- Specified by:
send in interface SPIRemoteEndpoint
- Throws:
IOException
close
public void close(int code,
String reason)
throws IOException
- Specified by:
close in interface SPIRemoteEndpoint
- Throws:
IOException
getUri
public String getUri()
- Specified by:
getUri in interface SPIRemoteEndpoint
Copyright © 2012. All Rights Reserved.