org.microemu.cldc.socket
Class ServerSocketConnection

java.lang.Object
  extended by org.microemu.cldc.socket.ServerSocketConnection
All Implemented Interfaces:
javax.microedition.io.Connection, javax.microedition.io.ServerSocketConnection, javax.microedition.io.StreamConnectionNotifier

public class ServerSocketConnection
extends java.lang.Object
implements javax.microedition.io.ServerSocketConnection


Constructor Summary
ServerSocketConnection(int port)
           
 
Method Summary
 javax.microedition.io.StreamConnection acceptAndOpen()
           
 void close()
           
 java.lang.String getLocalAddress()
           
 int getLocalPort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerSocketConnection

public ServerSocketConnection(int port)
                       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getLocalAddress

public java.lang.String getLocalAddress()
                                 throws java.io.IOException
Specified by:
getLocalAddress in interface javax.microedition.io.ServerSocketConnection
Throws:
java.io.IOException

getLocalPort

public int getLocalPort()
                 throws java.io.IOException
Specified by:
getLocalPort in interface javax.microedition.io.ServerSocketConnection
Throws:
java.io.IOException

acceptAndOpen

public javax.microedition.io.StreamConnection acceptAndOpen()
                                                     throws java.io.IOException
Specified by:
acceptAndOpen in interface javax.microedition.io.StreamConnectionNotifier
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface javax.microedition.io.Connection
Throws:
java.io.IOException


Copyright © 2001-2009 MicroEmulator Team. All Rights Reserved.