public class AbstractServiceConnectionManager<S> extends Object implements ServiceConnectionManager<S>
| 构造器和说明 |
|---|
AbstractServiceConnectionManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
checkNotClosed() |
void |
close()
Close the service connection manager.
|
void |
connect(S service)
Connect to the given service.
|
void |
disconnect()
Disconnect from the current service.
|
protected boolean |
isConnected() |
public final void connect(S service)
ServiceConnectionManagerconnect 在接口中 ServiceConnectionManager<S>service - service to connect topublic final void disconnect()
ServiceConnectionManagerdisconnect 在接口中 ServiceConnectionManager<S>public final void close()
ServiceConnectionManagerclose 在接口中 ServiceConnectionManager<S>protected final void checkNotClosed()
protected final boolean isConnected()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.