@Inject
public MemoryServer(InstanceRegistry instanceRegistry, ClientFactory clientFactory, EndpointPolicy endpointPolicy, String id) {
this.instanceRegistry = instanceRegistry;
this.clientFactory = clientFactory;
this.instanceInfo = new InstanceInfo(id, UUID.randomUUID());
this.endpointPolicy = endpointPolicy;
verbHandlers.put(Verb.DATA_PUSH, new DataPushHandler());
verbHandlers.put(Verb.DATA_REQUEST, new DataRequestHandler());
verbHandlers.put(Verb.DATA_RESPONSE, new DataResponseHandler());