idman.sec
Class PlainClientSocketFactory

java.lang.Object
  |
  +--idman.sec.PlainClientSocketFactory
All Implemented Interfaces:
java.rmi.server.RMIClientSocketFactory, java.io.Serializable

public class PlainClientSocketFactory
extends java.lang.Object
implements java.rmi.server.RMIClientSocketFactory, java.io.Serializable

Fabrik für normale Sockets.

Version:
$Id: PlainClientSocketFactory.java,v 1.1 2002/04/25 10:18:34 tk4 Exp $
Author:
Thomas Kriegelstein
See Also:
Serialized Form

Constructor Summary
PlainClientSocketFactory(java.util.Properties settings)
          Konstruktor.
 
Method Summary
 java.net.Socket createSocket(java.lang.String host, int port)
          Erzeugt eine Verbindung zum angebebenen Ziel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainClientSocketFactory

public PlainClientSocketFactory(java.util.Properties settings)
Konstruktor.

Parameters:
settings - Wird ignoriert.
Method Detail

createSocket

public java.net.Socket createSocket(java.lang.String host,
                                    int port)
                             throws java.io.IOException
Erzeugt eine Verbindung zum angebebenen Ziel.

Specified by:
createSocket in interface java.rmi.server.RMIClientSocketFactory
Parameters:
host - Zieladresse der Verbindung.
port - Zielport der Verbindung.
Returns:
Verbindung als Socket.
Throws:
java.io.IOException - Im Fehlerfall.


Copyright © 2003 DRIM Team. All Rights Reserved.