public class ProxyManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_STRICT_POLICY |
| Constructor and Description |
|---|
ProxyManager()
Create a proxy manager to listen for proxy events and reap unused proxies
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Clears all entries from the cache
|
void |
clearCache(ItemPath item)
Clears the given Item from the cache
|
void |
connectToProxyServer(String name,
int port) |
AgentProxy |
getAgentProxy(AgentPath path) |
AgentProxy |
getAgentProxy(String agentName) |
ItemProxy |
getProxy(Path path) |
protected void |
processMessage(ProxyMessage thisMessage) |
protected void |
removeProxy(ItemPath itemPath) |
void |
reportCurrentProxies(int logLevel)
A utility to Dump the current proxies loaded
|
protected void |
resubscribe(ProxyServerConnection conn) |
void |
shutdown() |
void |
subscribeTree(DomainPathSubscriber sub,
DomainPath interest) |
void |
unsubscribeTree(DomainPathSubscriber sub) |
public static final String CONFIG_STRICT_POLICY
public ProxyManager()
throws InvalidDataException
InvalidDataExceptionpublic void connectToProxyServer(String name, int port)
protected void resubscribe(ProxyServerConnection conn)
public void shutdown()
protected void processMessage(ProxyMessage thisMessage) throws InvalidDataException
InvalidDataExceptionpublic void subscribeTree(DomainPathSubscriber sub, DomainPath interest)
public void unsubscribeTree(DomainPathSubscriber sub)
protected void removeProxy(ItemPath itemPath)
public ItemProxy getProxy(Path path) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic AgentProxy getAgentProxy(String agentName) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic AgentProxy getAgentProxy(AgentPath path) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic void reportCurrentProxies(int logLevel)
logLevel - the selectd log levelpublic void clearCache()
public void clearCache(ItemPath item)
item - the UUIDCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.