@Override public Server addServer(String serverName, String hostAddress, int port, IpChannelType ipChannelType, boolean acceptAnonymousConnections, int maxConcurrentConnectionsCount, String[] extraHostAddresses) throws Exception { this.wrappedSctpManagement.addServer(serverName, hostAddress, port, ipChannelType, acceptAnonymousConnections, maxConcurrentConnectionsCount, extraHostAddresses); return null; }
server = this.management.addServer(serverName, origAddress.getAddress().getHostAddress(), origAddress.getPort(), IpChannelType.SCTP, true, 10, null);
this.sctpManagement.addServer(serverName, primaryAddress, hostPort, ipChnnelType, secondaryAddresses);
@Override public Server addServer(String serverName, String hostAddress, int port) throws Exception { this.wrappedSctpManagement.addServer(serverName, hostAddress, port); return null; }
this.sctpManagement.addServer(serverName, primaryAddress, hostPort, ipChnnelType, secondaryAddresses);
@Override public Server addServer(String serverName, String hostAddress, int port, IpChannelType ipChannelType, String[] extraHostAddresses) throws Exception { this.wrappedSctpManagement.addServer(serverName, hostAddress, port, ipChannelType, extraHostAddresses); return null; }
@Override public Server addSctpServer(String serverName, String hostAddress, int port, String ipChannelType, boolean acceptAnonymousConnections, int maxConcurrentConnectionsCount, String extraHostAddresses) throws Exception { this.wrappedSctpManagement.addServer(serverName, hostAddress, port, IpChannelType.valueOf(ipChannelType.toUpperCase()), acceptAnonymousConnections, maxConcurrentConnectionsCount, (extraHostAddresses != null && !extraHostAddresses.isEmpty()) ? extraHostAddresses.split(",") : null); return null; }