git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.0@430823 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2006-08-11 16:48:15 +00:00
parent 353ba22e31
commit 1c0e39f7c9
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;
}
}