public class RecipientInfo extends Object
Constructor and Description |
---|
RecipientInfo()
Default constructor.
|
RecipientInfo(Protocol protocol,
String name,
String agent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Returns the optional comment, typically the software agent name.
|
String |
getName()
Returns the host name and port number or a pseudonym.
|
Protocol |
getProtocol()
Returns the protocol used to communicate with the recipient.
|
void |
setComment(String comment)
Sets the optional comment, typically the software agent name.
|
void |
setName(String name)
Sets the host name and port number or a pseudonym.
|
void |
setProtocol(Protocol protocol)
Sets the protocol used to communicate with the recipient.
|
public String getComment()
public String getName()
public Protocol getProtocol()
public void setComment(String comment)
comment
- The optional comment.public void setName(String name)
name
- The host name and port number or a pseudonym.public void setProtocol(Protocol protocol)
protocol
- The protocol used to communicate with the recipient.Copyright © 2005–2018. All rights reserved.