| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Message Transport Protocol Description
TODO: there is at present to checking to see if the characters in the fields are valid as per the BNF definitions
Constructor Summary | |
MTPDescription(String profile, String mtp_name, List addresses) This constructor creates a MTPDescription with the specified profile, mtp-name and addresses. | |
MTPDescription() Constructor | |
MTPDescription(String description) Constructor - given a String representation of the Message Transport Description a mtpdescription will vce constructed from it. |
Method Summary | |
boolean | addAddress(URL address) add an address to the list of addresses |
List | getAddresses() Get the list of addresses |
String | getMTPName() get the message transport name |
String | getProfile() get the profile |
static void | main(String[] args) This is for testing purposes. |
boolean | removeAddress(URL address) remove an address from the list of addresses |
void | setAddresses(List addresses) Set the list of addresses |
void | setMTPName(String mtp) Sets the message transport name |
void | setProfile(String profile) Sets the profile |
String | toString() this object as a string |
Constructor Detail |
public MTPDescription(String profile, String mtp_name, List addresses)
public MTPDescription()
public MTPDescription(String description)
throws fipaos.parser.ParserException
Method Detail |
public boolean addAddress(URL address)
public List getAddresses()
public String getMTPName()
public String getProfile()
public static void main(String[] args)
public boolean removeAddress(URL address)
public void setAddresses(List addresses)
public void setMTPName(String mtp)
public void setProfile(String profile)
public String toString()
Association Links |
to Class java.lang.String
to Class java.util.List
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |