|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.builders.protocoldrivers.http
This is the http implementation of the ProtocolDriver interface. It can signal a specific remote builder node using HTTP GET.
| Constructor Summary | |
http()
|
|
| Method Summary | |
boolean |
commitNode(java.lang.String nodename,
java.lang.String tableName,
java.lang.String xml)
|
java.lang.String |
getProtocol()
Gets the name of this protocoldriver. |
java.lang.String |
getRemoteHost()
Gets the remote hostname. |
int |
getRemotePort()
Gets the remote portnumber. |
void |
init(java.lang.String remoteHost,
int remotePort)
Initializes remotehost, remoteport, mmbase root variable and gets the mmbaseCop. |
boolean |
signalRemoteNode(java.lang.String number,
java.lang.String builder,
java.lang.String ctype)
Sends a signal from mmbase to the remote side to tell that a remote node has a status has been changed. |
java.lang.String |
toString()
Gets the protocolname, remotehost and remote port. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public http()
| Method Detail |
public void init(java.lang.String remoteHost,
int remotePort)
init in interface ProtocolDriver
public boolean commitNode(java.lang.String nodename,
java.lang.String tableName,
java.lang.String xml)
commitNode in interface ProtocolDriverpublic java.lang.String getProtocol()
getProtocol in interface ProtocolDriverpublic java.lang.String getRemoteHost()
public int getRemotePort()
public boolean signalRemoteNode(java.lang.String number,
java.lang.String builder,
java.lang.String ctype)
signalRemoteNode in interface ProtocolDrivernumber - a String with the object number of the remote builder nodebuilder - the typename of builder that's been signalled to.ctype - the mmbase node changed symbol.
public java.lang.String toString()
toString in interface ProtocolDriver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||