use of com.alibaba.nacos.core.remote.ConnectionMeta in project nacos by alibaba.
the class RpcAckCallbackInitorOrCleanerTest method testInitAndCleaner.
@Test
public void testInitAndCleaner() {
String connectId = "11";
ConnectionMeta meta = new ConnectionMeta(connectId, "", "", 80, 80, "GRPC", "", "", new HashMap<>());
Connection connection = new GrpcConnection(meta, null, null);
RpcAckCallbackInitorOrCleaner initorOrCleaner = new RpcAckCallbackInitorOrCleaner();
initorOrCleaner.clientConnected(connection);
initorOrCleaner.clientDisConnected(connection);
}
Aggregations