All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sapia.ubik.net.DefaultUbikServerSocketFactory Maven / Gradle / Ivy

The newest version!
package org.sapia.ubik.net;

import java.io.IOException;

import java.net.InetAddress;
import java.net.ServerSocket;


/**
 * @author Yanick Duchesne
 * 
*
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
*
License:
Read the license.txt file of the jar or visit the * license page at the Sapia OSS web site
*
*/ public class DefaultUbikServerSocketFactory implements UbikServerSocketFactory { /** * @see org.sapia.ubik.net.UbikServerSocketFactory#createServerSocket(int, java.lang.String) */ public ServerSocket createServerSocket(int port, String bindAddr) throws IOException { return new ServerSocket(port, 50, InetAddress.getByName(bindAddr)); } /** * @see java.rmi.server.RMIServerSocketFactory#createServerSocket(int) */ public ServerSocket createServerSocket(int port) throws IOException { return new ServerSocket(port); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy