Interface ServerConnection
-
- All Known Implementing Classes:
AppWebsocketConnectionImpl
public interface ServerConnection
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceServerConnection.MessageListener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidclose(java.lang.String reason)voidhandleSyncMessageResult(org.webswing.model.app.in.ServerToAppFrameMsgIn msgIn, org.webswing.model.appframe.in.AppFrameMsgIn frame)voidinitialize(java.lang.String serverUrl, ServerConnection.MessageListener messageListener)voidsendMessage(org.webswing.model.app.out.AppToServerFrameMsgOut msgOut)org.webswing.model.SyncObjectResponsesendMessageSync(org.webswing.model.app.out.AppToServerFrameMsgOut msgOut, java.lang.String correlationId)
-
-
-
Method Detail
-
initialize
void initialize(java.lang.String serverUrl, ServerConnection.MessageListener messageListener) throws java.lang.Exception- Throws:
java.lang.Exception
-
close
void close()
-
close
void close(java.lang.String reason)
-
sendMessage
void sendMessage(org.webswing.model.app.out.AppToServerFrameMsgOut msgOut)
-
sendMessageSync
org.webswing.model.SyncObjectResponse sendMessageSync(org.webswing.model.app.out.AppToServerFrameMsgOut msgOut, java.lang.String correlationId) throws java.util.concurrent.TimeoutException- Throws:
java.util.concurrent.TimeoutException
-
handleSyncMessageResult
void handleSyncMessageResult(org.webswing.model.app.in.ServerToAppFrameMsgIn msgIn, org.webswing.model.appframe.in.AppFrameMsgIn frame)
-
-