Class ClientCli.ClientEndpoint
- java.lang.Object
-
- org.glassfish.tyrus.ext.client.cli.ClientCli.ClientEndpoint
-
- Enclosing class:
- ClientCli
public static class ClientCli.ClientEndpoint extends java.lang.ObjectClient side endpoint, prints everything into given console.
-
-
Constructor Summary
Constructors Constructor Description ClientEndpoint(jline.console.ConsoleReader console)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonClose(CloseReason closeReason)voidonError(java.lang.Throwable th)voidonMessage(byte[] buffer)voidonMessage(PongMessage pongMessage)voidonMessage(java.lang.String s)
-
-
-
Method Detail
-
onMessage
public void onMessage(java.lang.String s) throws java.io.IOException- Throws:
java.io.IOException
-
onMessage
public void onMessage(byte[] buffer) throws java.io.IOException- Throws:
java.io.IOException
-
onError
public void onError(java.lang.Throwable th) throws java.io.IOException- Throws:
java.io.IOException
-
onClose
public void onClose(CloseReason closeReason) throws java.io.IOException
- Throws:
java.io.IOException
-
onMessage
public void onMessage(PongMessage pongMessage) throws java.io.IOException
- Throws:
java.io.IOException
-
-