|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.net.rc.RCInterfaceManager
public class RCInterfaceManager
This class is the factory and manager for all return channel interfaces in the system.
The methods on this class which return instances of the RCInterface
will only return new instances of that class under the following conditions:
Method Summary | |
---|---|
void |
addResourceStatusEventListener(ResourceStatusListener listener)
This method informs a resource server that a particular object should be informed of changes in the state of the resources managed by that server. |
static RCInterfaceManager |
getInstance()
Factory method to obtain a manager. |
RCInterface |
getInterface(java.net.InetAddress addr)
Return the interface which will be used when connecting to a particular host. |
RCInterface |
getInterface(java.net.Socket s)
Return the interface which is used for a particular socket. |
RCInterface |
getInterface(java.net.URLConnection u)
Return the interface which is used for a particular URLConnection |
RCInterface[] |
getInterfaces()
Factory method to return a list of all return channel interfaces visible to this application. |
void |
removeResourceStatusEventListener(ResourceStatusListener listener)
This method informs a resource server that a particular object is no longer interested in being informed about changes in state of resources managed by that server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RCInterfaceManager getInstance()
public RCInterface[] getInterfaces()
public RCInterface getInterface(java.net.InetAddress addr)
addr
- the IP address of the host to connect to
public RCInterface getInterface(java.net.Socket s)
s
- the socket to use
public RCInterface getInterface(java.net.URLConnection u)
u
- the URLConnection to use
public void addResourceStatusEventListener(ResourceStatusListener listener)
addResourceStatusEventListener
in interface ResourceServer
listener
- the object to be informed of state changespublic void removeResourceStatusEventListener(ResourceStatusListener listener)
removeResourceStatusEventListener
in interface ResourceServer
listener
- the object which is no longer interested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |