public static interface ProxyModelInfrastructure.ProxyModelListener
Modifier and Type | Method and Description |
---|---|
void |
modelConnectionExpired(ProxyModelInfrastructure proxyModelInfrastructure)
Notify listener about the expiration of the model connection to another remote model.
|
void |
modelException(ProxyModelInfrastructure proxyModelInfrastructure,
java.lang.String message,
java.lang.Throwable exception)
Notify all model listeners that the simulation has experienced an exception.
|
void |
onRemoteEvent(ProxyModelInfrastructure proxyModelInfrastructure,
RemoteEventToken event)
Notify the listener about server event received from the remote ProxyModelInfrastructure.
|
void modelConnectionExpired(ProxyModelInfrastructure proxyModelInfrastructure)
proxyModelInfrastructure
- The infrastructure whose connection expired.void modelException(ProxyModelInfrastructure proxyModelInfrastructure, java.lang.String message, java.lang.Throwable exception)
proxyModelInfrastructure
- The infrastructure where the exception happened.message
- The message explaining what has happened.exception
- The exception that triggered this event.void onRemoteEvent(ProxyModelInfrastructure proxyModelInfrastructure, RemoteEventToken event)
proxyModelInfrastructure
- The proxyModelInfrastructure that received the eventevent
- The remote event