Package com.subgraph.orchid.data

Examples of com.subgraph.orchid.data.IPv4Address


      final int routerAddress = router.getAddress().getAddressData();
      return (routerAddress & mask) == network;
    }
   
    public String toString() {
      IPv4Address a = new IPv4Address(network);
      return a.toString() + "/" + bits;
     
    }
View Full Code Here


    int addressValue = 0;
    for(byte b: addressData) {
      addressValue <<= 8;
      addressValue |= (b & 0xFF);
    }
    address = new IPv4Address(addressValue);
  }
View Full Code Here

TOP

Related Classes of com.subgraph.orchid.data.IPv4Address

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.