com.alibaba.dubbo.rpc.protocol
Class AbstractProtocol
java.lang.Object
com.alibaba.dubbo.rpc.protocol.AbstractProtocol
- All Implemented Interfaces:
- Protocol
- Direct Known Subclasses:
- AbstractProxyProtocol, DubboProtocol, InjvmProtocol, MemcachedProtocol, MockProtocol, RedisProtocol, ThriftProtocol
public abstract class AbstractProtocol
- extends Object
- implements Protocol
abstract ProtocolSupport.
- Author:
- qian.lei, william.liangf
Method Summary |
void |
destroy()
释放协议:
1. |
AbstractProtocol
public AbstractProtocol()
destroy
public void destroy()
- Description copied from interface:
Protocol
- 释放协议:
1. 取消该协议所有已经暴露和引用的服务。
2. 释放协议所占用的所有资源,比如连接和端口。
3. 协议在释放后,依然能暴露和引用新的服务。
- Specified by:
destroy
in interface Protocol
Copyright © 2012–2017 Alibaba. All rights reserved.