git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@430820 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2006-08-11 16:43:34 +00:00
parent befb3adc32
commit 7711c7450d
1 changed files with 23 additions and 0 deletions

View File

@ -36,6 +36,7 @@ public class ConnectionInfo extends BaseCommand {
protected BrokerId[] brokerPath;
protected boolean brokerMasterConnector;
protected boolean manageable;
protected transient Object transportContext;
public ConnectionInfo() {
}
@ -142,5 +143,27 @@ public class ConnectionInfo extends BaseCommand {
public void setManageable(boolean manageable){
this.manageable=manageable;
}
/**
* Transports may wish to associate additional data with the connection. For
* example, an SSL transport may use this field to attach the client certificates
* used when the conection was established.
*
* @return the transport context.
*/
public Object getTransportContext() {
return transportContext;
}
/**
* Transports may wish to associate additional data with the connection. For
* example, an SSL transport may use this field to attach the client certificates
* used when the conection was established.
*
* @param transportContext value used to set the transport context
*/
public void setTransportContext(Object transportContext) {
this.transportContext = transportContext;
}
}