Search in sources :

Example 1 with ProtoNamespaceRequestMessageGroup

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

the class NamespaceRequest method sendNamespaceRequest.

private void sendNamespaceRequest(IPAndPort dest) {
    ProtoNamespaceRequestMessageGroup protoMG;
    if (debug) {
        Log.warning("Requesting namespaces from: ", dest);
    }
    protoMG = new ProtoNamespaceRequestMessageGroup(new UUIDBase(), mgBase.getMyID());
    nsRequests.put(protoMG.getUUID(), this);
    mgBase.send(protoMG.toMessageGroup(), dest);
}
Also used : ProtoNamespaceRequestMessageGroup(com.ms.silverking.cloud.dht.net.ProtoNamespaceRequestMessageGroup) UUIDBase(com.ms.silverking.id.UUIDBase)

Example 2 with ProtoNamespaceRequestMessageGroup

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

the class NamespaceRequest method sendNamespaceRequest.

private void sendNamespaceRequest(IPAndPort dest) {
    ProtoNamespaceRequestMessageGroup protoMG;
    if (debug) {
        Log.warning("Requesting namespaces from: ", dest);
    }
    protoMG = new ProtoNamespaceRequestMessageGroup(new UUIDBase(), mgBase.getMyID());
    nsRequests.put(protoMG.getUUID(), this);
    mgBase.send(protoMG.toMessageGroup(), dest);
}
Also used : ProtoNamespaceRequestMessageGroup(com.ms.silverking.cloud.dht.net.ProtoNamespaceRequestMessageGroup) UUIDBase(com.ms.silverking.id.UUIDBase)

Aggregations

ProtoNamespaceRequestMessageGroup (com.ms.silverking.cloud.dht.net.ProtoNamespaceRequestMessageGroup)2 UUIDBase (com.ms.silverking.id.UUIDBase)2