| 1 | // $Id: PoolMgrQueryPoolsMsg.java,v 1.6 2007-07-23 10:49:09 behrmann Exp $ |
| 2 | |
| 3 | package diskCacheV111.vehicles ; |
| 4 | |
| 5 | import diskCacheV111.poolManager.PoolSelectionUnit.DirectionType; |
| 6 | import java.util.*; |
| 7 | |
| 8 | public class PoolMgrQueryPoolsMsg extends Message { |
| 9 | private final DirectionType _accessType ; |
| 10 | |
| 11 | private String _netUnitName = null ; |
| 12 | private String _protocolUnitName = null ; |
| 13 | private StorageInfo _storageInfo = null ; |
| 14 | private List<String> []_poolList = null ; |
| 15 | |
| 16 | private static final long serialVersionUID = 4739697573589962019L; |
| 17 | |
| 18 | public PoolMgrQueryPoolsMsg(DirectionType accessType, |
| 19 | String protocolUnit, |
| 20 | String netUnitName, |
| 21 | StorageInfo storageInfo) { |
| 22 | _accessType = accessType ; |
| 23 | _protocolUnitName = protocolUnit; |
| 24 | _netUnitName = netUnitName ; |
| 25 | _storageInfo = storageInfo ; |
| 26 | |
| 27 | setReplyRequired(true); |
| 28 | assert _storageInfo != null; |
| 29 | } |
| 30 | public DirectionType getAccessType(){ return _accessType ; } |
| 31 | |
| 32 | public String getNetUnitName(){ return _netUnitName ; } |
| 33 | public String getProtocolUnitName(){ return _protocolUnitName; } |
| 34 | public StorageInfo getStorageInfo(){ return _storageInfo ; } |
| 35 | public void setPoolList( List<String> [] poolList ){ _poolList = poolList ; } |
| 36 | public List<String> [] getPools(){ return _poolList ; } |
| 37 | } |