|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.bug.slp.AdvertiserIPAddressFactory
public class AdvertiserIPAddressFactory
Simple class to encapsulate logic for finding an advertiser's IP Address
| Constructor Summary | |
|---|---|
AdvertiserIPAddressFactory()
|
|
| Method Summary | |
|---|---|
static java.net.InetAddress |
getAddress(BundleContext context,
Advertiser advertiser)
This little patch gets the IP for the BUG to be used as the SLP advertiser If it's a real BUG, use the advertiser to return the IP If it's a virtual BUG, try to use LOCALHOST |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdvertiserIPAddressFactory()
| Method Detail |
|---|
public static java.net.InetAddress getAddress(BundleContext context,
Advertiser advertiser)
throws java.net.SocketException
context - advertiser -
java.net.SocketException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||