Class ProxyReference
- java.lang.Object
-
- jadex.bridge.component.impl.remotecommands.ProxyReference
-
public class ProxyReference extends java.lang.Object
A proxy reference is the transfer format of a remote reference which should be made to a proxy on the other side.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.Object>
cache
The value cache.protected ProxyInfo
pi
The proxy info.protected RemoteReference
rr
The remote reference.
-
Constructor Summary
Constructors Constructor Description ProxyReference()
Create a new proxy reference.ProxyReference(ProxyInfo pi, RemoteReference rr)
Create a new proxy reference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getCache()
Get the cached values.ProxyInfo
getProxyInfo()
Get the proxy info.RemoteReference
getRemoteReference()
Get the remoteReference.void
putCache(java.lang.String key, java.lang.Object value)
Get the cached values.void
setCache(java.util.Map<java.lang.String,java.lang.Object> cache)
Set the cached values.void
setProxyInfo(ProxyInfo pi)
Set the pi.void
setRemoteReference(RemoteReference remoteReference)
Set the remote reference.java.lang.String
toString()
Get the string representation.
-
-
-
Field Detail
-
pi
protected ProxyInfo pi
The proxy info.
-
rr
protected RemoteReference rr
The remote reference.
-
cache
protected java.util.Map<java.lang.String,java.lang.Object> cache
The value cache.
-
-
Constructor Detail
-
ProxyReference
public ProxyReference()
Create a new proxy reference.
-
ProxyReference
public ProxyReference(ProxyInfo pi, RemoteReference rr)
Create a new proxy reference.
-
-
Method Detail
-
getProxyInfo
public ProxyInfo getProxyInfo()
Get the proxy info.- Returns:
- The proxy info.
-
setProxyInfo
public void setProxyInfo(ProxyInfo pi)
Set the pi.- Parameters:
pi
- The pi to set.
-
getRemoteReference
public RemoteReference getRemoteReference()
Get the remoteReference.- Returns:
- the remoteReference.
-
setRemoteReference
public void setRemoteReference(RemoteReference remoteReference)
Set the remote reference.- Parameters:
remote
- reference The remote reference to set.
-
getCache
public java.util.Map<java.lang.String,java.lang.Object> getCache()
Get the cached values.- Returns:
- The cached values.
-
setCache
public void setCache(java.util.Map<java.lang.String,java.lang.Object> cache)
Set the cached values.- Parameters:
cache
- The cached values.
-
putCache
public void putCache(java.lang.String key, java.lang.Object value)
Get the cached values.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
- Returns:
- The string representation.
-
-