Retrieves one or more outbound enabler proxy configurations.
java.util.List<OutboundEnablerProxyVO> getOutboundEnablerProxies() throws com.sybase.sup.admin.exception.SUPAdminException;
OutboundEnablerProxyVO getOutboundEnablerProxy(java.lang.Integer outboundEnablerProxyId) throws com.sybase.sup.admin.exception.SUPAdminException;
OutboundEnablerProxyVO getOutboundEnablerProxy(java.lang.String host, java.lang.Integer port) throws com.sybase.sup.admin.exception.SUPAdminException;
If successful, retrieves a list of outbound enabler proxy configurations, or a specific outbound enabler proxy configuration. If unsuccessful, returns SUPAdminException.
@Test public void getOutboundEnablerProxyVOByHostPort() throws Exception { Iterator<OutboundEnablerProxyVO> iterator = supRelayServer .getOutboundEnablerProxies().iterator(); if (!iterator.hasNext()) { System.out.println("No Outbound Enabler Proxy configured."); return; } OutboundEnablerProxyVO proxy1 = iterator.next(); OutboundEnablerProxyVO proxy2 = supRelayServer.getOutboundEnablerProxy( proxy1.getHost(), proxy1.getPort()); assertEquals(proxy1, proxy2); }
OutboundEnablerVO rsvo_byId = suprs.getOutboundEnablerProxy(id);
OutboundEnablerVO rsvo_hostPort = suprs.getOutboundEnablerProxy(rsvo.getHost(), rsvo.getPort());