test_class.declarator: header
test_class.modifier: private
test_class.original_string: private HeaderExchangeChannel header;
test_class.type: HeaderExchangeChannel
test_class.var_name: header
test_class.declarator: channel
test_class.modifier: private
test_class.original_string: private MockChannel channel;
test_class.type: MockChannel
test_class.var_name: channel
test_class.declarator: url = URL.valueOf("dubbo://localhost:20880")
test_class.modifier: private
test_class.original_string: private URL url = URL.valueOf("dubbo://localhost:20880");
test_class.type: URL
test_class.var_name: url
test_class.declarator: CHANNEL_KEY = HeaderExchangeChannel.class.getName() + ".CHANNEL"
test_class.modifier: private static final
test_class.original_string: private static final String CHANNEL_KEY = HeaderExchangeChannel.class.getName() + ".CHANNEL";
test_class.type: String
test_class.var_name: CHANNEL_KEY
test_class.file: dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/exchange/support/header/HeaderExchangeChannelTest.java
test_class.identifier: HeaderExchangeChannelTest
test_case.body: @Test
      public void isConnectedTest() {
          Assertions.assertFalse(header.isConnected());
      }
test_case.class_method_signature: HeaderExchangeChannelTest.isConnectedTest()
test_case.full_signature: @Test public void isConnectedTest()
test_case.identifier: isConnectedTest
test_case.invocations: assertFalse isConnected
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isConnectedTest()
focal_class.declarator: logger = LoggerFactory.getLogger(HeaderExchangeChannel.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(HeaderExchangeChannel.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: CHANNEL_KEY = HeaderExchangeChannel.class.getName() + ".CHANNEL"
focal_class.modifier: private static final
focal_class.original_string: private static final String CHANNEL_KEY = HeaderExchangeChannel.class.getName() + ".CHANNEL";
focal_class.type: String
focal_class.var_name: CHANNEL_KEY
focal_class.declarator: channel
focal_class.modifier: private final
focal_class.original_string: private final Channel channel;
focal_class.type: Channel
focal_class.var_name: channel
focal_class.declarator: closed = false
focal_class.modifier: private volatile
focal_class.original_string: private volatile boolean closed = false;
focal_class.type: boolean
focal_class.var_name: closed
focal_class.file: dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/header/HeaderExchangeChannel.java
focal_class.identifier: HeaderExchangeChannel
focal_class.interfaces: implements ExchangeChannel
focal_class.class_method_signature: HeaderExchangeChannel.HeaderExchangeChannel(Channel channel)
focal_class.full_signature:   HeaderExchangeChannel(Channel channel)
focal_class.identifier: HeaderExchangeChannel
focal_class.parameters: (Channel channel)
focal_class.signature:  HeaderExchangeChannel(Channel channel)
focal_class.class_method_signature: HeaderExchangeChannel.getOrAddChannel(Channel ch)
focal_class.full_signature: static HeaderExchangeChannel getOrAddChannel(Channel ch)
focal_class.identifier: getOrAddChannel
focal_class.modifiers: static
focal_class.parameters: (Channel ch)
focal_class.return: HeaderExchangeChannel
focal_class.signature: HeaderExchangeChannel getOrAddChannel(Channel ch)
focal_class.class_method_signature: HeaderExchangeChannel.removeChannelIfDisconnected(Channel ch)
focal_class.full_signature: static void removeChannelIfDisconnected(Channel ch)
focal_class.identifier: removeChannelIfDisconnected
focal_class.modifiers: static
focal_class.parameters: (Channel ch)
focal_class.return: void
focal_class.signature: void removeChannelIfDisconnected(Channel ch)
focal_class.class_method_signature: HeaderExchangeChannel.removeChannel(Channel ch)
focal_class.full_signature: static void removeChannel(Channel ch)
focal_class.identifier: removeChannel
focal_class.modifiers: static
focal_class.parameters: (Channel ch)
focal_class.return: void
focal_class.signature: void removeChannel(Channel ch)
focal_class.class_method_signature: HeaderExchangeChannel.send(Object message)
focal_class.full_signature: @Override public void send(Object message)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Object message)
focal_class.return: void
focal_class.signature: void send(Object message)
focal_class.class_method_signature: HeaderExchangeChannel.send(Object message, boolean sent)
focal_class.full_signature: @Override public void send(Object message, boolean sent)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Object message, boolean sent)
focal_class.return: void
focal_class.signature: void send(Object message, boolean sent)
focal_class.class_method_signature: HeaderExchangeChannel.request(Object request)
focal_class.full_signature: @Override public CompletableFuture<Object> request(Object request)
focal_class.identifier: request
focal_class.modifiers: @Override public
focal_class.parameters: (Object request)
focal_class.return: CompletableFuture<Object>
focal_class.signature: CompletableFuture<Object> request(Object request)
focal_class.class_method_signature: HeaderExchangeChannel.request(Object request, int timeout)
focal_class.full_signature: @Override public CompletableFuture<Object> request(Object request, int timeout)
focal_class.identifier: request
focal_class.modifiers: @Override public
focal_class.parameters: (Object request, int timeout)
focal_class.return: CompletableFuture<Object>
focal_class.signature: CompletableFuture<Object> request(Object request, int timeout)
focal_class.class_method_signature: HeaderExchangeChannel.request(Object request, ExecutorService executor)
focal_class.full_signature: @Override public CompletableFuture<Object> request(Object request, ExecutorService executor)
focal_class.identifier: request
focal_class.modifiers: @Override public
focal_class.parameters: (Object request, ExecutorService executor)
focal_class.return: CompletableFuture<Object>
focal_class.signature: CompletableFuture<Object> request(Object request, ExecutorService executor)
focal_class.class_method_signature: HeaderExchangeChannel.request(Object request, int timeout, ExecutorService executor)
focal_class.full_signature: @Override public CompletableFuture<Object> request(Object request, int timeout, ExecutorService executor)
focal_class.identifier: request
focal_class.modifiers: @Override public
focal_class.parameters: (Object request, int timeout, ExecutorService executor)
focal_class.return: CompletableFuture<Object>
focal_class.signature: CompletableFuture<Object> request(Object request, int timeout, ExecutorService executor)
focal_class.class_method_signature: HeaderExchangeChannel.isClosed()
focal_class.full_signature: @Override public boolean isClosed()
focal_class.identifier: isClosed
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isClosed()
focal_class.class_method_signature: HeaderExchangeChannel.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: HeaderExchangeChannel.close(int timeout)
focal_class.full_signature: @Override public void close(int timeout)
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: (int timeout)
focal_class.return: void
focal_class.signature: void close(int timeout)
focal_class.class_method_signature: HeaderExchangeChannel.startClose()
focal_class.full_signature: @Override public void startClose()
focal_class.identifier: startClose
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void startClose()
focal_class.class_method_signature: HeaderExchangeChannel.getLocalAddress()
focal_class.full_signature: @Override public InetSocketAddress getLocalAddress()
focal_class.identifier: getLocalAddress
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: InetSocketAddress
focal_class.signature: InetSocketAddress getLocalAddress()
focal_class.class_method_signature: HeaderExchangeChannel.getRemoteAddress()
focal_class.full_signature: @Override public InetSocketAddress getRemoteAddress()
focal_class.identifier: getRemoteAddress
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: InetSocketAddress
focal_class.signature: InetSocketAddress getRemoteAddress()
focal_class.class_method_signature: HeaderExchangeChannel.getUrl()
focal_class.full_signature: @Override public URL getUrl()
focal_class.identifier: getUrl
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: URL
focal_class.signature: URL getUrl()
focal_class.class_method_signature: HeaderExchangeChannel.isConnected()
focal_class.full_signature: @Override public boolean isConnected()
focal_class.identifier: isConnected
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isConnected()
focal_class.class_method_signature: HeaderExchangeChannel.getChannelHandler()
focal_class.full_signature: @Override public ChannelHandler getChannelHandler()
focal_class.identifier: getChannelHandler
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ChannelHandler
focal_class.signature: ChannelHandler getChannelHandler()
focal_class.class_method_signature: HeaderExchangeChannel.getExchangeHandler()
focal_class.full_signature: @Override public ExchangeHandler getExchangeHandler()
focal_class.identifier: getExchangeHandler
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ExchangeHandler
focal_class.signature: ExchangeHandler getExchangeHandler()
focal_class.class_method_signature: HeaderExchangeChannel.getAttribute(String key)
focal_class.full_signature: @Override public Object getAttribute(String key)
focal_class.identifier: getAttribute
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: Object
focal_class.signature: Object getAttribute(String key)
focal_class.class_method_signature: HeaderExchangeChannel.setAttribute(String key, Object value)
focal_class.full_signature: @Override public void setAttribute(String key, Object value)
focal_class.identifier: setAttribute
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Object value)
focal_class.return: void
focal_class.signature: void setAttribute(String key, Object value)
focal_class.class_method_signature: HeaderExchangeChannel.removeAttribute(String key)
focal_class.full_signature: @Override public void removeAttribute(String key)
focal_class.identifier: removeAttribute
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: void
focal_class.signature: void removeAttribute(String key)
focal_class.class_method_signature: HeaderExchangeChannel.hasAttribute(String key)
focal_class.full_signature: @Override public boolean hasAttribute(String key)
focal_class.identifier: hasAttribute
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: boolean
focal_class.signature: boolean hasAttribute(String key)
focal_class.class_method_signature: HeaderExchangeChannel.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: HeaderExchangeChannel.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: HeaderExchangeChannel.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public boolean isConnected() {
          return channel.isConnected();
      }
focal_method.class_method_signature: HeaderExchangeChannel.isConnected()
focal_method.full_signature: @Override public boolean isConnected()
focal_method.identifier: isConnected
focal_method.invocations: isConnected
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isConnected()