com.antiaction.mayhem.core
Class BindSocketFactory

java.lang.Object
  extended by com.antiaction.mayhem.core.BindSocketFactory
All Implemented Interfaces:
IBindSocketFactory

public class BindSocketFactory
extends java.lang.Object
implements IBindSocketFactory

Bind Socket Factory.

Version:
1.00
Author:
Nicholas Clarke

Constructor Summary
BindSocketFactory()
           
 
Method Summary
 java.net.Socket createLayeredServerSocket(java.net.Socket socket)
           
 java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress bindAddr)
           
 java.lang.String getTransport()
           
 boolean init(java.util.HashMap props)
           
 boolean isSecure()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindSocketFactory

public BindSocketFactory()
Method Detail

init

public boolean init(java.util.HashMap props)
Specified by:
init in interface IBindSocketFactory

getTransport

public java.lang.String getTransport()
Specified by:
getTransport in interface IBindSocketFactory

isSecure

public boolean isSecure()
Specified by:
isSecure in interface IBindSocketFactory

createServerSocket

public java.net.ServerSocket createServerSocket(int port,
                                                int backlog,
                                                java.net.InetAddress bindAddr)
                                         throws java.io.IOException
Specified by:
createServerSocket in interface IBindSocketFactory
Throws:
java.io.IOException

createLayeredServerSocket

public java.net.Socket createLayeredServerSocket(java.net.Socket socket)
                                          throws java.io.IOException
Specified by:
createLayeredServerSocket in interface IBindSocketFactory
Throws:
java.io.IOException


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.