public void setSubnetwork ( int nodeId , int subnetwork ) { if ( subnetwork > 127 ) throw new IllegalArgumentException ( "Number of subnetworks is currently limited to 127 but requested " + subnetwork ) ; byte [ ] bytes = new byte [ 1 ] ; bytes [ 0 ] = ( byte ) subnetwork ; da . setBytes ( nodeId , bytes , bytes . length ) ; }
This method sets the subnetwork if of the specified nodeId . Default is 0 and means subnetwork was too small to be useful to be stored .