public interface AccessorReference extends EntityReference
Title: Service Event Fabric Core
Description: Defines an interface of the Accessor reference.
Copyright: Copyright (c) 2015
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
boolean |
autoSwitching()
Checks if the accessor will automatically switch to another suitable component located in a node with a higher weight
(see
FabricNodeReference.getWeight() for details). |
java.lang.String |
getAccessorName()
Returns the name of the accessor.
|
java.lang.String |
getActualNodeName()
Returns a name of the actual node containing the accessed component.
|
ComponentModel |
getComponentModel()
Returns a model of the accessed component.
|
java.lang.String |
getComponentName()
Returns a name of the accessed component.
|
java.lang.String |
getComponentType()
Returns a type of the accessed component.
|
java.lang.String |
getName()
Returns the full name name of the entity.
|
java.lang.String |
getNodeName()
Returns a name of the node that should contain the accessed component.
|
long |
getRequestTimeout()
Returns a default time (in milliseconds) of waiting for a response for the accessor operations.
|
AccessorSessionReference |
getSession()
Returns the accessor session (this session is located in the accessed component).
|
java.lang.String |
getSLSessionName()
Returns a name of the associated
SLANG session or null if the accessor is not a part
of a SLANG session. |
boolean |
hasStateListener()
Checks if the accessor has a state listener (see
FabricComponentAccessor.setStateListener(FabricComponentAccessorStateListener) ). |
boolean |
isAvailable()
Checks if the accessed component is available.
|
boolean |
isInstant()
Checks if the accessor is a part of the instant
SLANG session (i.e. |
boolean |
isSpecial()
Checks if the accessor is a part of the special
SLANG session (i.e. |
java.util.List |
listBoundEventIds()
Returns a list of events bound to the accessor (the accessor acts as an Event Producer for these events).
|
getComponentAddress, getEventScope, getExchangeRole
java.lang.String getAccessorName()
java.lang.String getName()
getName
in interface NamedObject
java.lang.String getNodeName()
null
the accessor will search a suitable component in all nodes.java.lang.String getComponentType()
java.lang.String getComponentName()
ComponentModel getComponentModel()
long getRequestTimeout()
java.lang.String getSLSessionName()
SLANG
session or null
if the accessor is not a part
of a SLANG
session.SLANG
session or null
if the accessor is not a part of such session.boolean isSpecial()
SLANG
session (i.e. a routed session to OBSERVABLE
component).true
if the accessor is a part of the special SLANG
session, false
otherwise.boolean isInstant()
SLANG
session (i.e. a short-lived session used for broadcasting).true
if the accessor is a part of the instant SLANG
session, false
otherwise.boolean hasStateListener()
FabricComponentAccessor.setStateListener(FabricComponentAccessorStateListener)
).true
if the accessor has a state listener, false
otherwise.boolean autoSwitching()
FabricNodeReference.getWeight()
for details).
This parameter is applicable only if the nodeName
is not specified.
true
if the accessor will automatically switch to component with a higher weight, false
otherwise.boolean isAvailable()
true
if the accessed component is available, false
otherwise.java.lang.String getActualNodeName()
null
if the accessed component is not available.AccessorSessionReference getSession()
null
if the accessed component is not available.java.util.List listBoundEventIds()
This method is applicable only to the Service Accessor
.
null
if the accessor is not a Service Accessor
.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.