| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.toremote.gateway.plugin.AbstractGatewayChannel
public abstract class AbstractGatewayChannel
Used for communication between browser and gateway It added an extra communication layer on current websocket connection.
| Constructor Summary | |
|---|---|
| AbstractGatewayChannel() | |
| Method Summary | |
|---|---|
| abstract  void | close()Channel is closed | 
| abstract  int | getFlags() | 
| abstract  java.lang.String | getName() | 
|  SessionInformation | getSessionInfo() | 
| abstract  void | open()Channel is opened | 
| abstract  void | process(net.protocol.utils.DataView data)process the client side data | 
|  void | sendData(net.protocol.utils.DataView data)Send data to client side | 
|  void | setOutput(com.toremote.websocket.OutputInterface oi)set up OuputInterface, used to initialize the plugin. | 
|  void | setSessionInfo(SessionInformation info)Used to initialize the plugin, don't call this in the plugin | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AbstractGatewayChannel()
| Method Detail | 
|---|
public SessionInformation getSessionInfo()
SessionInformationpublic void setSessionInfo(SessionInformation info)
info - session informationpublic abstract java.lang.String getName()
public abstract int getFlags()
public abstract void process(net.protocol.utils.DataView data)
data - DataViewpublic final void setOutput(com.toremote.websocket.OutputInterface oi)
oi - public abstract void open()
public abstract void close()
public void sendData(net.protocol.utils.DataView data)
              throws java.io.IOException
data - 
java.io.IOException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||