public class ProxyModelBuilder
extends java.lang.Object
| Red (ahuseyno) |
| Red (ahuseyno) |
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyModelBuilder.ProxyModelType
An enumerations that specifies the proxy model type: client or server.
|
| Constructor and Description |
|---|
ProxyModelBuilder(ProxyModelBuilder.ProxyModelType modelType,
CompositeActor topLevelActor)
Create a new instance of the builder for the provided model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Build the ProxyModel that supports distributed execution.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getModelTypes()
Return the mapping from the typeable named object's full name to its type string.
|
java.util.HashMap<java.lang.String,ProxySink> |
getProxySinkMap()
Return the mapping from the target actor's full name to the ProxySink associated with it.
|
java.util.HashMap<java.lang.String,ProxySourceData> |
getProxySourceMap()
Return the mapping from the target actor's full name to the ProxySource associated with it.
|
java.util.HashMap<java.lang.String,Settable> |
getRemoteAttributesMap()
Return the mapping from the attribute full name's to the attribute instance.
|
public ProxyModelBuilder(ProxyModelBuilder.ProxyModelType modelType, CompositeActor topLevelActor)
modelType - The type of the model the builder should build.topLevelActor - The target model on which builder would perform its operations.public void build()
throws IllegalActionException,
TypeConflictException,
NameDuplicationException,
java.lang.CloneNotSupportedException
IllegalActionException - if there is a problem setting a manager or
capturing certain type information.TypeConflictException - if there is a problem resolving types on the model.NameDuplicationException - if there is a problem creating proxy sinks or sources.java.lang.CloneNotSupportedException - if there is a problem cloning ports or attributes.public java.util.HashMap<java.lang.String,java.lang.String> getModelTypes()
public java.util.HashMap<java.lang.String,ProxySink> getProxySinkMap()
public java.util.HashMap<java.lang.String,ProxySourceData> getProxySourceMap()
public java.util.HashMap<java.lang.String,Settable> getRemoteAttributesMap()
ServerUtility.REMOTE_OBJECT_TAG attribute within them.