db4o 7.4

com.db4o.config
Class PlainSocketFactory

java.lang.Object
  extended by com.db4o.config.PlainSocketFactory
All Implemented Interfaces:
NativeSocketFactory, com.db4o.foundation.DeepClone

public class PlainSocketFactory
extends java.lang.Object
implements NativeSocketFactory

Create raw platform native sockets.


Constructor Summary
PlainSocketFactory()
           
 
Method Summary
 java.net.ServerSocket createServerSocket(int port)
           
 java.net.Socket createSocket(java.lang.String hostName, int port)
           
 java.lang.Object deepClone(java.lang.Object context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainSocketFactory

public PlainSocketFactory()
Method Detail

createServerSocket

public java.net.ServerSocket createServerSocket(int port)
                                         throws java.io.IOException
Specified by:
createServerSocket in interface NativeSocketFactory
Throws:
java.io.IOException

createSocket

public java.net.Socket createSocket(java.lang.String hostName,
                                    int port)
                             throws java.io.IOException
Specified by:
createSocket in interface NativeSocketFactory
Throws:
java.io.IOException

deepClone

public java.lang.Object deepClone(java.lang.Object context)
Specified by:
deepClone in interface com.db4o.foundation.DeepClone

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.