예제 #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);
 }
예제 #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;
 }
예제 #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;
 }
예제 #4
0
 public <T> T getDeviceServiceProxy(Class<T> clazz) throws SDKException {
   return DEVICE_MANAGER.getDeviceServiceProxy(DEV_ID_SMC, clazz);
 }
예제 #5
0
 public <T> T getDeviceServiceProxy(Class<T> clazz) throws SDKException {
   return deviceManager.getDeviceServiceProxy(devID, clazz);
 }