Search in sources :

Example 1 with ProtoNopMessageGroup

use of com.ms.silverking.cloud.dht.net.ProtoNopMessageGroup in project SilverKing by Morgan-Stanley.

the class MessageModule method establishConnections.

private void establishConnections() {
    for (IPAndPort replica : ringMaster.getAllCurrentReplicaServers()) {
        ProtoNopMessageGroup nop;
        nop = new ProtoNopMessageGroup(mgBase.getMyID());
        Log.warning("Priming: ", replica);
        mgBase.send(nop.toMessageGroup(), replica);
    }
}
Also used : IPAndPort(com.ms.silverking.net.IPAndPort) ProtoNopMessageGroup(com.ms.silverking.cloud.dht.net.ProtoNopMessageGroup)

Aggregations

ProtoNopMessageGroup (com.ms.silverking.cloud.dht.net.ProtoNopMessageGroup)1 IPAndPort (com.ms.silverking.net.IPAndPort)1