|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQAgent
An Agent represents and identifies a user of the queue, either producer or consumer of the message, either an end-user or an application. An Agent is identified by a name, an address and a protocol. The name can be either assigned by the application, or be the application itself. The address is determined in terms of the communication protocol. If the protocol is 0 (default), the address is of the form[schema.]queuename[@dblink], a database link.
Method Summary | |
---|---|
String |
getAddress() |
String |
getName() |
int |
getProtocol() |
void |
setAddress(String address) Protocol-specific address of the recipient. |
void |
setName(String name) |
void |
setProtocol(int protocol) Protocol to interpret the address and propagate the message. |
String |
toString() |
Method Detail |
---|
void setAddress(String address) throws SQLException
SQLException
String getAddress()
void setName(String name) throws SQLException
SQLException
String getName()
void setProtocol(int protocol) throws SQLException
SQLException
int getProtocol()
String toString()
toString
in class Object
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |