Ejemplo n.º 1
0
 public static SDKResult<MultiPointCDRResult> queryMultiPointCDREx(
     MultiPointCDRQueryConfig queryConfig) throws SDKException {
   SMC20V1R3C10IConferenceManagerCapability confMgr =
       deviceManager.getDeviceServiceProxy(
           TPConstant.DEV_ID_SMC, SMC20V1R3C10IConferenceManagerCapability.class);
   return confMgr.queryMultiPointCDREx(queryConfig);
 }
Ejemplo n.º 2
0
 public static SDKResult<PagedList<PointToPointCDR>> queryPointToPointCDR(
     PointToPointCDRQueryConfig queryConfig) throws SDKException {
   SMC20V1R3C10IConferenceManagerCapability confMgr =
       deviceManager.getDeviceServiceProxy(
           TPConstant.DEV_ID_SMC, SMC20V1R3C10IConferenceManagerCapability.class);
   SDKResult<PagedList<PointToPointCDR>> result = confMgr.queryPointToPointCDR(queryConfig);
   return result;
 }
Ejemplo n.º 3
0
 public static String getDeviceServiceAccessPort() {
   List<DeviceConfig> devices = deviceManager.queryAllDeviceInfo();
   if (null != devices) {
     for (DeviceConfig device : devices) {
       if (null != device
           && null != device.getDeviceId()
           && devID.equals(device.getDeviceId().trim())) {
         return device.getServiceAccessPoint();
       }
     }
   }
   return null;
 }
Ejemplo n.º 4
0
 public <T> T getDeviceServiceProxy(Class<T> clazz) throws SDKException {
   return DEVICE_MANAGER.getDeviceServiceProxy(DEV_ID_SMC, clazz);
 }
Ejemplo n.º 5
0
 public <T> T getDeviceServiceProxy(Class<T> clazz) throws SDKException {
   return deviceManager.getDeviceServiceProxy(devID, clazz);
 }