|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ponder2.comms.TransmitterImpl
public abstract class TransmitterImpl
Describes the methods that all Ponder2 comms protocols for inter-SMC communication must supply
| Constructor Summary | |
|---|---|
TransmitterImpl()
|
|
| Method Summary | |
|---|---|
Transmitter |
connect(java.net.URI address)
creates and connects a Transmitter to a remote location. |
abstract P2Object |
execute(java.net.URI address,
OID target,
P2Object source,
java.lang.String op,
P2Object[] args)
executes commands at a remote managed object |
protected java.lang.String |
execute(java.net.URI address,
java.lang.String xmlString)
Executes a command remotely |
protected com.twicom.qdparser.TaggedElement |
execute(java.net.URI address,
com.twicom.qdparser.TaggedElement xml)
Executes a command remotely |
protected P2Object |
executeString(java.net.URI address,
OID target,
P2Object source,
java.lang.String op,
P2Object[] args)
executes commands at a remote managed object. |
protected P2Object |
executeXml(java.net.URI address,
OID target,
P2Object source,
java.lang.String op,
P2Object[] args)
executes commands at a remote managed object. |
abstract P2Object |
getObject(java.net.URI address,
java.lang.String path)
gets a managed object from a remote SMC |
protected P2Object |
getObjectString(java.net.URI address,
java.lang.String path)
gets a managed object from a remote SMC using XML as a string for the communications |
protected P2Object |
getObjectXml(java.net.URI address,
java.lang.String path)
gets a managed object from a remote SMC using XML for the communications |
boolean |
ping(java.net.URI address)
Checks to see if the remote service is up and running. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransmitterImpl()
| Method Detail |
|---|
public Transmitter connect(java.net.URI address)
throws Ponder2RemoteException
connect in interface Transmitteraddress - the location that this protocol is to be connected to
Ponder2RemoteExceptionpublic boolean ping(java.net.URI address)
ping in interface Transmitteraddress - the address of the remote service
public abstract P2Object getObject(java.net.URI address,
java.lang.String path)
throws Ponder2Exception
getObject in interface Transmitteraddress - the address of the remote SMCpath - the full path name of the remote managed object
Ponder2Exception
protected final P2Object getObjectXml(java.net.URI address,
java.lang.String path)
throws Ponder2Exception
address - the address of the remote SMCpath - the full path name of the remote managed object
Ponder2Exception
protected final P2Object getObjectString(java.net.URI address,
java.lang.String path)
throws Ponder2Exception
address - the address of the remote SMCpath - the full path name of the remote managed object
Ponder2Exception
public abstract P2Object execute(java.net.URI address,
OID target,
P2Object source,
java.lang.String op,
P2Object[] args)
throws Ponder2Exception
execute in interface Transmitteraddress - the address of the remote SMCtarget - the remote object's OIDsource - the originator of the operationop - the operation to be performedargs - the arguments for the operation
Ponder2Exception
protected final P2Object executeXml(java.net.URI address,
OID target,
P2Object source,
java.lang.String op,
P2Object[] args)
throws Ponder2Exception
address - the address of the remote SMCtarget - the remote object's OIDsource - the originator of the operationop - the operation to be performedargs - the arguments for the operation
Ponder2Exception
protected final P2Object executeString(java.net.URI address,
OID target,
P2Object source,
java.lang.String op,
P2Object[] args)
throws Ponder2Exception
address - the address of the remote SMCtarget - the remote object's OIDsource - the originator of the operationop - the operation to be performedargs - the arguments for the operation
Ponder2Exception
protected com.twicom.qdparser.TaggedElement execute(java.net.URI address,
com.twicom.qdparser.TaggedElement xml)
throws Ponder2Exception
address - the address of the remote SMCxml - all the required arguments rolled into an XML structure
Ponder2Exception
protected java.lang.String execute(java.net.URI address,
java.lang.String xmlString)
throws Ponder2Exception
address - the address of the remote SMCxmlString - all the required arguments rolled into an XML structure
expressed as a string
Ponder2Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||