Class ServerSocket

java.lang.Object
  extended byServerSocket
All Implemented Interfaces:
java.lang.Runnable

public class ServerSocket
extends java.lang.Object
implements java.lang.Runnable

p2pmobilephp is a new implemented version of p2pmobile and provides J2ME classes and PHP scripts for writing mobile filesharing servers and clients very quickly.


Constructor Summary
ServerSocket(java.lang.String urlbase)
           
 
Method Summary
 void addfile(java.lang.String file)
           
 boolean exists(java.lang.String file)
           
 void registernow()
          register files as downloadable at the php server
 void removefile(java.lang.String file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerSocket

public ServerSocket(java.lang.String urlbase)
Parameters:
urlbase - the folder on the server where the php files are
Method Detail

addfile

public void addfile(java.lang.String file)
Parameters:
file - a name of a recordstore which is to be made available online

removefile

public void removefile(java.lang.String file)
Parameters:
file - a name of a recordstore which is not downloadable

exists

public boolean exists(java.lang.String file)

registernow

public void registernow()
register files as downloadable at the php server