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
|
ProxyManager(TransactionKey transactionKey)
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(AgentPath path,
TransactionKey transactionKey) |
AgentProxy |
getAgentProxy(String agentName) |
AgentProxy |
getAgentProxy(String agentName,
TransactionKey transactionKey) |
ItemProxy |
getProxy(Path path) |
ItemProxy |
getProxy(Path path,
TransactionKey transactionKey) |
protected void |
processMessage(ProxyMessage thisMessage) |
protected void |
removeProxy(ItemPath itemPath) |
void |
reportCurrentProxies() |
void |
reportCurrentProxies(int logLevel)
Deprecated.
|
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 ProxyManager(TransactionKey transactionKey) 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 ItemProxy getProxy(Path path, TransactionKey transactionKey) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic AgentProxy getAgentProxy(String agentName) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic AgentProxy getAgentProxy(String agentName, TransactionKey transactionKey) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic AgentProxy getAgentProxy(AgentPath path) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic AgentProxy getAgentProxy(AgentPath path, TransactionKey transactionKey) throws ObjectNotFoundException
ObjectNotFoundException@Deprecated public void reportCurrentProxies(int logLevel)
logLevel - the select2d log levelpublic void reportCurrentProxies()
public void clearCache()
public void clearCache(ItemPath item)
item - the UUIDCopyright © 1997–2022 CRISTAL-iSE. All rights reserved.