Class ServerSocket
java.lang.Object
ServerSocket
- 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.
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 |
ServerSocket
public ServerSocket(java.lang.String urlbase)
- Parameters:
urlbase
- the folder on the server where the php files are
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