/** * Notifies the connection about server activity (the server has sent a frame). This method is used to handle the * heartbeat. */ public void onServerActivity() { delegate.onServerActivity(); }
/** * Notifies the connection about server activity (the server has sent a frame). This method is used to handle the * heartbeat. */ public void onServerActivity() { delegate.onServerActivity(); }
Frame frame = serverFrame.frame(); StompServerConnection connection = serverFrame.connection(); connection.onServerActivity();