public void deregister(EcosLocoAddress s){
  s.removePropertyChangeListener(this);
  String ecosObject=s.getEcosObject();
  int oldsize=_tecos.size();
  _tecos.remove(ecosObject);
  firePropertyChange("length",Integer.valueOf(oldsize),Integer.valueOf(_tecos.size()));
  int dccAddress=s.getNumber();
  oldsize=_tdcc.size();
  _tdcc.remove(dccAddress);
  firePropertyChange("length",Integer.valueOf(oldsize),Integer.valueOf(_tdcc.size()));
  EcosMessage m=new EcosMessage("release(" + ecosObject + ", view)");
  tc.sendEcosMessage(m,this);
}

public void deregister ( EcosLocoAddress s ) { s . removePropertyChangeListener ( this ) ; String ecosObject = s . getEcosObject ( ) ; int oldsize = _tecos . size ( ) ; _tecos . remove ( ecosObject ) ; firePropertyChange ( "length" , Integer . valueOf ( oldsize ) , Integer . valueOf ( _tecos . size ( ) ) ) ; int dccAddress = s . getNumber ( ) ; oldsize = _tdcc . size ( ) ; _tdcc . remove ( dccAddress ) ; firePropertyChange ( "length" , Integer . valueOf ( oldsize ) , Integer . valueOf ( _tdcc . size ( ) ) ) ; EcosMessage m = new EcosMessage ( "release(" + ecosObject + ", view)" ) ; tc . sendEcosMessage ( m , this ) ; }
forget a namedbean object created outside the manager . < p > the non - system - specific routemanager uses this method .
