Interface FragmentedMessageHolder

All Superinterfaces:
Serializable
All Known Subinterfaces:
BrowserLiveReload
All Known Implementing Classes:
AtmospherePushConnection, DebugWindowConnection

public interface FragmentedMessageHolder extends Serializable
  • Method Details

    • getOrCreateFragmentedMessage

      AtmospherePushConnection.FragmentedMessage getOrCreateFragmentedMessage(org.atmosphere.cpr.AtmosphereResource resource)
      Gets the partial message that is currently being received, if any.
      Parameters:
      resource - the resource to get the partial message from
      Returns:
      the fragmented message being received or a new empty instance
    • clearFragmentedMessage

      void clearFragmentedMessage(org.atmosphere.cpr.AtmosphereResource resource)
      Clears the partial message that is currently being received. Should be called when the whole message has been received.
      Parameters:
      resource - the related resource