de.esprit.netsuite.client.netch

## Interface ClientMessageConnection

- All Known Implementing Classes:
    IOClientMessageConnection

      public interface ClientMessageConnection

  This interface defines the API of the client's message connection. It is neutral with respect to the real physical implementation.
  Author:
    Rainer Buesch

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `connect(SessionId sessionId)`
    `boolean` | `isConnected()`
    `java.lang.Object` | `readNextMessage()` Reads the next message for the network.
    `void` | `shutdown()`

- - ### Method Detail

    - #### isConnected

          boolean isConnected()

    - #### connect

          void connect(SessionId sessionId)
                       throws java.lang.Exception

      Throws:
        `java.lang.Exception`

    - #### readNextMessage

          java.lang.Object readNextMessage()
                                           throws java.lang.Exception

      Reads the next message for the network. Note that we may receive `NetResponse` or `NetMessage` objects here.
      Throws:
        `java.lang.Exception`

    - #### shutdown

          void shutdown()

Copyright © 2014 EsprIT-Systems. All Rights Reserved.