Package jade.imtp.leap
Class TransportProtocol
- java.lang.Object
-
- jade.imtp.leap.TransportProtocol
-
- Direct Known Subclasses:
HTTPProtocol,JICPProtocol
public abstract class TransportProtocol extends Object
Interface declaration- Author:
- Giovanni Caire - TILAB
-
-
Constructor Summary
Constructors Constructor Description TransportProtocol()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringaddrToString(TransportAddress ta)FIXME: should throw a dedicated exceptionabstract TransportAddressbuildAddress(String host, String port, String file, String anchor)abstract StringgetName()Method declarationprotected VectorparseURL(String url)FIXME: should throw a dedicated exceptionabstract TransportAddressstringToAddr(String s)FIXME: should throw a dedicated exception
-
-
-
Method Detail
-
addrToString
public abstract String addrToString(TransportAddress ta) throws ICPException
FIXME: should throw a dedicated exception- Throws:
ICPException
-
stringToAddr
public abstract TransportAddress stringToAddr(String s) throws ICPException
FIXME: should throw a dedicated exception- Throws:
ICPException
-
buildAddress
public abstract TransportAddress buildAddress(String host, String port, String file, String anchor)
-
getName
public abstract String getName()
Method declaration- Returns:
-
parseURL
protected Vector parseURL(String url) throws ICPException
FIXME: should throw a dedicated exception- Throws:
ICPException
-
-