Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--NetworkManager
Method Summary | |
void | close()
Closes all connections to server. |
void | create(CoBrowObject cbObject)
Registers local user with the CoBrow service. |
void | delete(CoBrowObject cbObject,
java.lang.String requestedObject)
Deletes on object from the CoBrow service. |
java.awt.Image | getImage(java.applet.Applet applet,
java.lang.String imageUrlString)
|
void | get(CoBrowObject cbObject,
java.lang.String requestedObject,
java.lang.String[] parameters)
|
void | open(java.lang.String address,
int port)
Opens one single initial connection to server. |
void | put(CoBrowObject cbObject,
java.lang.String requestedObject,
java.lang.String requestBody)
|
void | setId(java.lang.String clientId)
Sets the "local" user's id. |
void | subscribe(CoBrowObject cbObject,
java.lang.String requestedObject)
|
void | unsubscribe(CoBrowObject cbObject,
java.lang.String requestedObject)
|
Methods inherited from class java.lang.Object | |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Method Detail |
public void setId(java.lang.String clientId)
clientId
- The id to be set.public java.awt.Image getImage(java.applet.Applet applet, java.lang.String imageUrlString)
public void open(java.lang.String address, int port) throws java.io.IOException
address
- The IP address of the CoBrow server. REMARK: Must be the server where the whole applet came from!
port
- The port number of the CoBrow service.public void close() throws java.io.IOException
public void create(CoBrowObject cbObject) throws java.io.IOException
public void delete(CoBrowObject cbObject, java.lang.String requestedObject) throws java.io.IOException
public void get(CoBrowObject cbObject, java.lang.String requestedObject, java.lang.String[] parameters) throws java.io.IOException
public void put(CoBrowObject cbObject, java.lang.String requestedObject, java.lang.String requestBody) throws java.io.IOException
public void subscribe(CoBrowObject cbObject, java.lang.String requestedObject) throws java.io.IOException
public void unsubscribe(CoBrowObject cbObject, java.lang.String requestedObject) throws java.io.IOException
Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |