socket
Class Server

java.lang.Object
  extended by socket.Server
All Implemented Interfaces:
java.lang.Runnable, javax.microedition.lcdui.CommandListener

public class Server
extends java.lang.Object
implements java.lang.Runnable, javax.microedition.lcdui.CommandListener


Field Summary
(package private)  java.io.InputStream is
           
(package private)  java.io.OutputStream os
           
(package private)  javax.microedition.io.SocketConnection sc
           
(package private)  javax.microedition.io.ServerSocketConnection scn
           
(package private)  Sender sender
           
 
Constructor Summary
Server(SocketMIDlet m)
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable s)
           
 void run()
           
 void start()
           
 void stop()
          Close all open streams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

is

java.io.InputStream is

os

java.io.OutputStream os

sc

javax.microedition.io.SocketConnection sc

scn

javax.microedition.io.ServerSocketConnection scn

sender

Sender sender
Constructor Detail

Server

public Server(SocketMIDlet m)
Method Detail

start

public void start()

run

public void run()
Specified by:
run in interface java.lang.Runnable

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable s)
Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener

stop

public void stop()
Close all open streams