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

ca.uhn.hl7v2.hoh.sockets.StandardSocketFactory Maven / Gradle / Ivy

The newest version!
package ca.uhn.hl7v2.hoh.sockets;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

/**
 * Socket Factory which returns a normal, non encrypted TCP socket
 */
public class StandardSocketFactory implements ISocketFactory {

	public Socket createClientSocket() {
		return new Socket();
	}

	public ServerSocket createServerSocket() throws IOException {
		return new ServerSocket();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy