All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----iBus.iBusURLFactory
The factory creates URLs with subjects of the form
/ Optionally the factory can generate IP multicast addresses
by computing a hash on the IP Multicast address allocation: Note that when mapping an IP mcast address to an Ethernet MAC address
only the least significant 23 bits are used. Hence the hardware multiplexed
addresses end at 224.127.255.255.
NOTE: must call initSystem() before accessing system_ member.
- 224.0.0.0 to 224.0.1.255 are reserved permanently (RFC 1700)
- 224.0.2.0 to 224.0.4.255 are private addresses reserved by iBus
- 224.0.5.0 to 224.127.255.255 are assigned by iBusURLFactory
or by the user.
ADDR_FIRST_PRIVATE
ADDR_FIRST_PUBLIC
ADDR_LAST_PRIVATE
ADDR_LAST_PUBLIC
ADDR_NEXT_PRIVATE
DEFAULT_AREA
DEV_SYSTEM
privateAddresses_
PROD_SYSTEM
TEST_SYSTEM
addrToString(int)
create(String, String, String)
create(String, String, String, String)
create(String, String, String, String, int)
createAddress(String)
createPrivateAddress(String)
getServicePart(iBusURL)
getSubjectPart(iBusURL)
getSubjectParts(iBusURL)
getSystem()
getSystemPart(iBusURL)
getVersionPart(iBusURL)
ADDR_FIRST_PRIVATE
public static final int ADDR_FIRST_PRIVATE
ADDR_LAST_PRIVATE
public static final int ADDR_LAST_PRIVATE
ADDR_NEXT_PRIVATE
public static int ADDR_NEXT_PRIVATE
ADDR_FIRST_PUBLIC
public static final int ADDR_FIRST_PUBLIC
ADDR_LAST_PUBLIC
public static final int ADDR_LAST_PUBLIC
PROD_SYSTEM
public static final String PROD_SYSTEM
DEV_SYSTEM
public static final String DEV_SYSTEM
TEST_SYSTEM
public static final String TEST_SYSTEM
DEFAULT_AREA
public static final String DEFAULT_AREA
privateAddresses_
protected static Hashtable privateAddresses_
create
public static iBusURL create(String service,
String version,
String subject)
create
public static iBusURL create(String service,
String version,
String subject,
String address)
create
public static iBusURL create(String service,
String version,
String subject,
String address,
int port)
createAddress
public static String createAddress(String s)
createPrivateAddress
public static String createPrivateAddress(String key)
addrToString
public static String addrToString(int addr)
getSystem
public static String getSystem()
getSystemPart
public static String getSystemPart(iBusURL url) throws MalformedURLException
getServicePart
public static String getServicePart(iBusURL url) throws MalformedURLException
getVersionPart
public static String getVersionPart(iBusURL url) throws MalformedURLException
getSubjectPart
public static String getSubjectPart(iBusURL url) throws MalformedURLException
getSubjectParts
public static String[] getSubjectParts(iBusURL url) throws MalformedURLException
All Packages Class Hierarchy This Package Previous Next Index