private void handle(APIGetVirtualRouterOfferingMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, VirtualRouterOfferingInventory.class); APIGetVirtualRouterOfferingReply reply = new APIGetVirtualRouterOfferingReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetDiskOfferingMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, DiskOfferingInventory.class); APIGetDiskOfferingReply reply = new APIGetDiskOfferingReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetL2NetworkMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, L2NetworkInventory.class); APIGetL2NetworkReply reply = new APIGetL2NetworkReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetSftpBackupStorageMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, SftpBackupStorageInventory.class); APIGetSftpBackupStorageReply reply = new APIGetSftpBackupStorageReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetInstanceOfferingMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, InstanceOfferingInventory.class); APIGetInstanceOfferingReply reply = new APIGetInstanceOfferingReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetBackupStorageMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, BackupStorageInventory.class); APIGetBackupStorageReply reply = new APIGetBackupStorageReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetL2VlanNetworkMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, L2VlanNetworkInventory.class); APIGetL2VlanNetworkReply reply = new APIGetL2VlanNetworkReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetNetworkServiceProviderMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, NetworkServiceProviderInventory.class); APIGetNetworkServiceProviderReply reply = new APIGetNetworkServiceProviderReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetL3NetworkMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, L3NetworkInventory.class); APIGetL3NetworkReply reply = new APIGetL3NetworkReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetClusterMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, ClusterInventory.class); APIGetClusterReply reply = new APIGetClusterReply(); reply.setInventory(res); bus.reply(msg, reply); }
private void handle(APIGetPrimaryStorageMsg msg) { GetQuery q = new GetQuery(); String res = q.getAsString(msg, PrimaryStorageInventory.class); APIGetPrimaryStorageReply reply = new APIGetPrimaryStorageReply(); reply.setInventory(res); bus.reply(msg, reply); }