public abstract class AbstractWebSocketEndpoint extends Object implements KShieldEndpoint
Constructor and Description |
---|
AbstractWebSocketEndpoint() |
Modifier and Type | Method and Description |
---|---|
boolean |
isActive() |
protected boolean |
isNotEmpty(String str) |
protected abstract KShieldAuthManager |
kshieldAuthManager()
Implement this to provide kshieldAuthManager functionality to WebSocket instance
|
protected void |
onCloseImpl() |
protected void |
onErrorImpl(Throwable e) |
protected String |
onMessageImpl(String message) |
protected void |
onOpenImpl() |
protected void |
reset() |
protected abstract void |
send(String message) |
void |
signal()
Used to inform WebSocket Endpoint that authentication has changed
|
String |
toString() |
public AbstractWebSocketEndpoint()
public boolean isActive()
isActive
in interface KShieldEndpoint
protected boolean isNotEmpty(String str)
protected abstract KShieldAuthManager kshieldAuthManager()
protected void onCloseImpl()
protected void onErrorImpl(Throwable e)
protected String onMessageImpl(String message)
protected void onOpenImpl()
protected void reset()
public void signal()
KShieldEndpoint
signal
in interface KShieldEndpoint
Copyright © 2013 TDP Ltd. All Rights Reserved.