com.h3c.util.net.msg

## Class RequestResponseConversation.Provider

- java.lang.Object
- - com.h3c.util.net.msg.AbstractConversationProvider
  - - com.h3c.util.net.msg.RequestResponseConversation.Provider

- All Implemented Interfaces:
    ConversationProvider
  Enclosing class:
    RequestResponseConversation

      public static class RequestResponseConversation.Provider
      extends AbstractConversationProvider

  Provider and tracker of generic request response conversations.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RequestResponseConversation.Provider()`

  - ### Method Summary

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

    - ### Methods inherited from class com.h3c.util.net.msg.AbstractConversationProvider

      `removeConversation`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RequestResponseConversation.Provider

          public RequestResponseConversation.Provider()

  - ### Method Detail

    - #### newConversation

          public Conversation newConversation(String topic,
                                     int cid,
                                     int pid)

      Description copied from interface: `ConversationProvider`
      Get a conversation for the specified topic.
      Parameters:
        `topic` - name of the conversation topic
        `cid` - conversation id
        `pid` - unique conversation id of the parent conversation; 0 if no parent conversation
      Returns:
        conversation handler for the specified topic

Copyright © 2014. All Rights Reserved.