001package ca.uhn.hl7v2.hoh.sockets;
002
003import java.io.IOException;
004import java.net.ServerSocket;
005import java.net.Socket;
006
007/**
008 * Socket Factory which returns a normal, non encrypted TCP socket
009 */
010public class StandardSocketFactory implements ISocketFactory {
011
012        public Socket createClientSocket() {
013                return new Socket();
014        }
015
016        public ServerSocket createServerSocket() throws IOException {
017                return new ServerSocket();
018        }
019
020}