use of im.actor.core.modules.encryption.KeyManagerActor in project actor-platform by actorapp.
the class EncryptionModule method run.
public void run() {
keyManager = system().actorOf(Props.create(new ActorCreator() {
@Override
public KeyManagerActor create() {
return new KeyManagerActor(context());
}
}), "encryption/keys");
keyManagerInt = new KeyManagerInt(keyManager);
sessionManager = system().actorOf(Props.create(new ActorCreator() {
@Override
public SessionManagerActor create() {
return new SessionManagerActor(context());
}
}), "encryption/sessions");
sessionManagerInt = new SessionManagerInt(sessionManager);
messageEncryptor = system().actorOf(Props.create(new ActorCreator() {
@Override
public EncryptedMsgActor create() {
return new EncryptedMsgActor(context());
}
}), "encryption/messaging");
}
Aggregations