com.h3c.util.net.msg

## Interface ConversationProvider

- All Known Implementing Classes:
    AbstractConversationProvider, AbstractConversationTracker, AbstractQueuedConversationTracker, ConversationBroker, Echo.Provider, RequestResponseConversation.Provider, SendOnlyConversation.Provider

      public interface ConversationProvider

  Abstraction of a provider capable of supplying an conversation context appropriate for a given conversation topic.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Conversation` | `newConversation(String topic, int cid, int parentId)` Get a conversation for the specified topic.
    `void` | `removeConversation(Conversation c)` Remove the specified conversation.

- - ### Method Detail

    - #### newConversation

          Conversation newConversation(String topic,
                                     int cid,
                                     int parentId)

      Get a conversation for the specified topic.
      Parameters:
        `topic` - name of the conversation topic
        `cid` - conversation id
        `parentId` - unique conversation id of the parent conversation; 0 if no parent conversation
      Returns:
        conversation handler for the specified topic

    - #### removeConversation

          void removeConversation(Conversation c)

      Remove the specified conversation.
      Parameters:
        `c` - conversation to be removed

Copyright © 2014. All Rights Reserved.