Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Interface CoBrowService

Implementing Classes:
CoBrowConnection, NetworkManager

public abstract interface CoBrowService
Interface CoBrowService A CoBrow service implements the communication between CoBrow's user interface and the CoBrow server.


Method Summary
void close()
           
void create(CoBrowObject cbObject)
          methods implementing the CoBrow service itself
void delete(CoBrowObject cbObject, java.lang.String requestedObject)
           
void get(CoBrowObject cbObject, java.lang.String requestedObject, java.lang.String[] parameters)
           
java.awt.Image getImage(java.applet.Applet applet, java.lang.String imageUrlString)
           
void open(java.lang.String serverAddress, int serverPort)
          administrative methods
void put(CoBrowObject cbObject, java.lang.String requestedObject, java.lang.String requestBody)
           
void setId(java.lang.String clientId)
          auxiliary methods
void subscribe(CoBrowObject cbObject, java.lang.String requestedObject)
           
void unsubscribe(CoBrowObject cbObject, java.lang.String requestedObject)
           
 

Method Detail

open

public void open(java.lang.String serverAddress,
                 int serverPort)
         throws java.io.IOException
administrative methods

close

public void close()
          throws java.io.IOException

setId

public void setId(java.lang.String clientId)
auxiliary methods

getImage

public java.awt.Image getImage(java.applet.Applet applet,
                      java.lang.String imageUrlString)
                       throws java.io.IOException

create

public void create(CoBrowObject cbObject)
           throws java.io.IOException
methods implementing the CoBrow service itself

delete

public void delete(CoBrowObject cbObject,
                   java.lang.String requestedObject)
           throws java.io.IOException

get

public void get(CoBrowObject cbObject,
                java.lang.String requestedObject,
                java.lang.String[] parameters)
        throws java.io.IOException

put

public void put(CoBrowObject cbObject,
                java.lang.String requestedObject,
                java.lang.String requestBody)
        throws java.io.IOException

subscribe

public void subscribe(CoBrowObject cbObject,
                      java.lang.String requestedObject)
              throws java.io.IOException

unsubscribe

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