php.java.bridge
Class LocalServerSocket

java.lang.Object
  extended by php.java.bridge.LocalServerSocket
All Implemented Interfaces:
ISocketFactory

 class LocalServerSocket
extends java.lang.Object
implements ISocketFactory


Field Summary
static java.lang.String DefaultSocketname
           
 
Method Summary
 java.net.Socket accept()
          Create a new socket instance.
 void close()
          Close all instances.
static ISocketFactory create(int logLevel, java.lang.String name, int backlog)
           
 java.lang.String getSocketName()
          Return the socket# as a string.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DefaultSocketname

public static final java.lang.String DefaultSocketname
See Also:
Constant Field Values
Method Detail

create

public static ISocketFactory create(int logLevel,
                                    java.lang.String name,
                                    int backlog)
                             throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Description copied from interface: ISocketFactory
Close all instances.

Specified by:
close in interface ISocketFactory
Throws:
java.io.IOException

accept

public java.net.Socket accept()
                       throws java.io.IOException
Description copied from interface: ISocketFactory
Create a new socket instance.

Specified by:
accept in interface ISocketFactory
Returns:
The new communication socket.
Throws:
java.io.IOException

getSocketName

public java.lang.String getSocketName()
Description copied from interface: ISocketFactory
Return the socket# as a string.

Specified by:
getSocketName in interface ISocketFactory
Returns:
The socket number as a string.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object