use of i5.las2peer.security.ServiceAgentImpl in project Distributed-Noracle-Backend by Distributed-Noracle.
the class NoracleServiceTest method startService.
private void startService(Node node, String clsName, String version) throws Exception {
ServiceAgentImpl serviceAgent = ServiceAgentImpl.createServiceAgent(new ServiceNameVersion(clsName, version), "testtest");
serviceAgent.unlock("testtest");
node.storeAgent(serviceAgent);
node.registerReceiver(serviceAgent);
}
Aggregations