类 AbstractProtocol
- java.lang.Object
-
- com.alibaba.dubbo.rpc.protocol.AbstractProtocol
-
- 所有已实现的接口:
Protocol
- 直接已知子类:
AbstractProxyProtocol,DubboProtocol,InjvmProtocol,MemcachedProtocol,MockProtocol,RedisProtocol,ThriftProtocol
public abstract class AbstractProtocol extends Object implements Protocol
abstract ProtocolSupport.
-
-
方法详细资料
-
destroy
public void destroy()
从接口复制的说明:ProtocolDestroy protocol:
1. Cancel all services this protocol exports and refers
2. Release all occupied resources, for example: connection, port, etc.
3. Protocol can continue to export and refer new service even after it's destroyed.
-
-