@ThingworxExtensionApiClass(since={7,4}) public class RemoteThingWithTunnels extends RemoteThing
STORE_AND_FORWARD_IS_NOT_ENABLED_logger, DATASHAPE_INCOMING_LOCAL_PROPERTY_BINDING, DEFAULT_SETTINGS_TABLE, ENTITYLIST_SHAPE, GENERIC_THING_TEMPLATE, TYPE_THINGBASIC_PROPERTIESNAME_COMPARATOR| Constructor and Description |
|---|
RemoteThingWithTunnels() |
| Modifier and Type | Method and Description |
|---|---|
void |
AddTunnel(java.lang.String name,
java.lang.String host,
java.lang.Double port,
java.lang.String proto,
java.lang.Double numConnects,
java.lang.String description,
java.lang.String appUri)
Service Category: Tunneling
Service Description: Register a new tunnel endpoint at the edge.
|
void |
CompleteTunnel(java.lang.String tid,
org.joda.time.DateTime start_time,
org.joda.time.DateTime stop_time,
java.lang.String peer_name,
org.json.JSONObject connection) |
InfoTable |
GetTunnel(java.lang.String name)
Service Category: Tunneling
Service Description: Get information about a specific tunnel endpoint registered at the edge.
|
InfoTable |
GetTunnelNames()
Service Category: Tunneling
Service Description: Get a list of Tunnels registered at the edge.
|
InfoTable |
GetTunnels()
Service Category: Tunneling
Service Description: Get a list of Tunnel Endpoints registered at the edge.
|
InfoTable |
GetTunnelStatus()
Service Category: Tunneling
Service Description: Get the tunnel status and access URL.
|
void |
initializeThing()
|
java.lang.Boolean |
IsDerivedFromTemplate(java.lang.String thingTemplateName)
Service Category: Metadata
Service Description: Check to see if a thing is derived from a particular thing template.
|
void |
RemoveTunnel(java.lang.String name)
Service Category: Tunneling
Service Description: Remove a tunnel endpoint from the edge.
|
void |
StartTunnel(java.lang.String tid,
java.lang.String type,
java.lang.Integer chunksize,
java.lang.Integer idle_timeout,
java.lang.Integer read_timeout,
java.lang.Integer startup_timeout,
org.json.JSONObject connection) |
void |
TunnelCommandFromEdge(java.lang.String tid,
java.lang.String command) |
void |
TunnelCommandToEdge(java.lang.String tid,
java.lang.String command) |
AddDynamicRemoteSubscription, callService, checkConnection, executeRemoteService, GetEventSubscriptions, getLastConnectionTime, GetPropertySubscriptions, GetPropertySubscriptions, GetQueuedTasks, GetRemoteMetadata, initializeThing, isConnected, ProcessRemoteEvents, processRemoteService, RemoveDynamicRemoteSubscription, SendMaxQueuedTasks, SendQueuedTasks, startThing, stopThing, UpdateSubscribedPropertyValuesAcknowledgeAlert, acknowledgeAlertByProperty, acknowledgeAlertByPropertyAndName, acknowledgeAllAlerts, AcknowledgeAllAlerts, AddBooleanValueStreamEntry, AddDateTimeValueStreamEntry, AddDynamicSubscription, AddEventDefinition, AddImageValueStreamEntry, AddInfoTableValueStreamEntry, AddIntegerValueStreamEntry, AddLocationValueStreamEntry, AddLongValueStreamEntry, AddNumberValueStreamEntry, AddOrUpdateAlert, addProperty, AddPropertyDefinition, AddPropertyDefinition, AddPropertyDefinitions, AddPropertyTransformDefinition, AddServiceDefinition, AddStringValueStreamEntry, AddTags, AddThingCodeValueStreamEntry, AddVec2ValueStreamEntry, AddVec3ValueStreamEntry, AddVec4ValueStreamEntry, checkDemandRead, checkPropertyName, checkValueStream, cleanupThing, cleanupThing, DisableAlertsForProperty, DisableAllAlerts, DisableSubscription, DisableThing, dispatchBackgroundEvent, dispatchEvent, dispose, EnableAlertsForProperty, EnableAllAlerts, EnableSubscription, EnableThing, fireEvent, getAlertConfigurations, GetAlertDefinition, GetAlertDefinitions, getAlerts, getAlertsForProperty, GetAlertStatus, GetAlertStatuses, GetAlertStatusesForProperty, GetAlertSummary, GetAlertSummaryForProperty, GetAllAnomalyAlertTrainingStatistics, getAllImplementedThingShapes, getAllImplementedThingTemplates, GetAnomalyAlertTrainingStatisticsForAlert, GetAnomalyAlertTrainingStatisticsForProperty, GetAvatar, GetBooleanAlertParameter, GetBooleanPropertyValue, GetDateTimeAlertParameter, GetDateTimePropertyValue, getDependencies, getEffectiveAlertConfiguration, getEffectiveAlertDefinition, getEffectiveEventDefinition, getEffectiveIdentifier, GetEffectiveLocalPropertyBinding, getEffectiveLocalPropertyBindings, GetEffectiveLocalPropertyBindings, getEffectivePropertyDefinition, GetEffectivePropertyLogging, getEffectiveRemoteEventBindings, getEffectiveRemotePropertyBindings, getEffectiveRemoteServiceBindings, getEffectiveServiceDefinition, getEffectiveValueStreamName, getEntityType, GetHomeMashup, getIdentifier, GetIdentifier, GetImagePropertyValue, GetImplementedShapes, getImplementedThingTemplates, GetIncomingLocalPropertyBinding, GetIncomingLocalPropertyBindings, getInstanceEventDefinition, getInstanceEventDefinitions, getInstancePropertyDefinition, getInstancePropertyDefinitions, getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, getInstanceShape, getInstanceSubscriptions, GetIntegerAlertParameter, GetIntegerPropertyValue, GetLocalAlertDefinitions, GetLocallyImplementedShapes, GetLocalPropertyBinding, GetLocationAlertParameter, GetLocationPropertyValue, GetLoggedProperties, GetLongAlertParameter, GetLongPropertyValue, GetMashups, GetNamedProperties, GetNamedPropertyValues, GetNamedPropertyValuesVTQ, GetNamedPropertyValuesVTQA, GetNetworks, GetNumberAlertParameter, GetNumberPropertyValue, GetNumericLoggedProperties, getProperties, getProperty, getPropertyAckStatus, getPropertyAlertStatus, GetPropertyLogging, getPropertyQuality, GetPropertyQuality, getPropertyTime, GetPropertyTime, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValues, GetPropertyValues, getPropertyValuesAsInfoTable, GetPropertyValuesAsMultiRowTable, GetPropertyValuesVTQ, GetPropertyValuesVTQA, GetPublished, GetRemoteEventBinding, GetRemotePropertyBinding, GetRemoteServiceBinding, getState, GetStringAlertParameter, GetStringPropertyValue, GetThingCodePropertyValue, GetThingRelationships, GetThingSummaryInformation, getThingTemplate, GetThingTemplate, getThingTemplateName, GetValueStream, getValueStreamName, GetVec2PropertyValue, GetVec3PropertyValue, GetVec4PropertyValue, HasAlert, hasEventDefinition, hasLocalEventDefinition, hasLocalPropertyDefinition, hasLocalServiceDefinition, hasProperty, hasPropertyDefinition, hasServiceDefinition, HavePropertiesChangedSince, implementsShape, ImplementsShape, implementsTemplate, initializeEntity, initializeProperty, isAlwaysAvailableService, isBuiltInEvent, isBuiltInProperty, IsDynamicSubscriptionCreated, isEnabled, IsEnabled, isEventRemote, isExternallySubscribed, IsInNetwork, isLocallySubscribed, isLocalProperty, isPropertyEvent, isPropertyRemote, isPublished, isRunning, isServiceRemote, isSubscribed, preprocessSetPropertyVTQ, processAPIServiceRequest, processServiceRequest, processStartNotification, processStartNotification, PurgeAllPropertyHistory, PurgePropertyHistory, PurgeSelectedPropertyHistory, QueryAlertHistory, QueryAlertSummary, QueryBooleanPropertyHistory, QueryDateTimePropertyHistory, QueryImagePropertyHistory, QueryInfoTablePropertyHistory, QueryIntegerPropertyHistory, QueryLocationPropertyHistory, QueryLongPropertyHistory, QueryNamedPropertyHistory, QueryNumberPropertyHistory, QueryPropertyHistory, QueryStringPropertyHistory, QueryThingCodePropertyHistory, QueryVec2PropertyHistory, QueryVec3PropertyHistory, QueryVec4PropertyHistory, RemoveAlert, RemoveDynamicSubscription, RemoveEventDefinition, RemoveLocalPropertyBinding, RemovePropertyDefinition, RemoveRemoteEventBinding, RemoveRemotePropertyBinding, RemoveRemoteServiceBinding, RemoveServiceDefinition, RestartThing, SetBooleanAlertParameter, SetDateTimeAlertParameter, SetDescription, SetIdentifier, SetIntegerAlertParameter, SetLocalPropertyBinding, SetLocalPropertyBinding, SetLocationAlertParameter, SetNumberAlertParameter, SetPropertyLogging, setPropertyValue, SetPropertyValues, setPropertyVTQ, setPropertyVTQ, SetPublished, SetRemoteEventBinding, SetRemotePropertyBinding, SetRemotePropertyBinding, SetRemoteServiceBinding, SetStringAlertParameter, SetTags, setThingTemplateName, SetUnitsForNumericPropertyDefinition, SetValueStream, startThing, UpdatePropertyValues, validateConfiguration, WritePropertiesToStreamAddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, getAspects, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, GetIncomingDependencies, GetIncomingDependenciesAsNetwork, GetInstanceMetadataAsJSON, GetInstanceMetadataWithPermissionsAsJSON, GetLastModifiedDate, GetMetadata, GetMetadataAsJSON, GetMetadataWithPermissionsAsJSON, GetOutgoingDependencies, GetOutgoingDependenciesAsNetwork, getOwner, GetPermissionsForCurrentUser, GetPermissionsForGroup, GetPermissionsForUser, GetProjectName, GetPropertyDefinition, GetPropertyDefinitions, getRunTimePermissions, GetRunTimePermissions, GetRunTimePermissionsAsJSON, GetServiceDefinition, GetServiceDefinitions, getStringConfigurationSetting, getStringConfigurationSettingWithDefault, GetSummaryInformation, getTags, GetTags, GetTagsAsInfoTable, getVisibilityPermissions, GetVisibilityPermissions, GetVisibilityPermissionsAsJSON, HasIncomingDependencies, HasOutgoingDependencies, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtensionObject, IsMultiRowTable, isOwner, isSystemObject, isThemeObject, isVisible, isVisible, persistDesignTimePermissions, persistRunTimePermissions, persistVisibilityPermissions, preInitializeEntity, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, SetHomeMashup, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinitiongetID, hasID, isTransientgetDescription, getName, setDescription, setName, toValueCollectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamegetID, hasIDgetDescriptiongetID, getName@ThingworxExtensionApiMethod(since={7,4}) public RemoteThingWithTunnels()
@ThingworxExtensionApiMethod(since={7,4}, canOverride=true, requiresSuper=true) public void initializeThing() throws java.lang.Exception
Thing
An initialization hook for subclasses of Thing. Some resources of Thing may not be available at this point in the
lifecycle.
initializeThing in class RemoteThingjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public java.lang.Boolean IsDerivedFromTemplate(java.lang.String thingTemplateName) throws java.lang.Exception
IsDerivedFromTemplate in class ThingthingTemplateName - Thing template name - THINGTEMPLATENAMEjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public InfoTable GetTunnelNames() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public InfoTable GetTunnelStatus() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public InfoTable GetTunnels() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void AddTunnel(java.lang.String name, java.lang.String host, java.lang.Double port, java.lang.String proto, java.lang.Double numConnects, java.lang.String description, java.lang.String appUri) throws java.lang.Exception
name - Name of the tunnel to add - STRINGhost - Host that the tunnel will connect to - STRINGport - Port that the tunnel will connect to - NUMBERproto - Protocol used by the tunnel - STRINGnumConnects - The number of connections required to initilaize the tunnel - NUMBERdescription - Description of the tunnel - STRINGappUri - Location of the client app that will use this tunnel - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void RemoveTunnel(java.lang.String name) throws java.lang.Exception
name - Name of the tunnel to remove - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public InfoTable GetTunnel(java.lang.String name) throws java.lang.Exception
name - Name of the tunnel to query - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void StartTunnel(java.lang.String tid, java.lang.String type, java.lang.Integer chunksize, java.lang.Integer idle_timeout, java.lang.Integer read_timeout, java.lang.Integer startup_timeout, org.json.JSONObject connection) throws java.lang.Exception
tid - Id of the tunnel - STRINGtype - Type of tunnel, tcp or udp - STRINGchunksize - Max size of tunnel data to send - INTEGERidle_timeout - How long tunnel can remain idle before it will be closed - INTEGERread_timeout - Read timout on tunnel socket - INTEGERstartup_timeout - Read timout on tunnel socket - INTEGERconnection - The connection parameters - JSONjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void CompleteTunnel(java.lang.String tid, org.joda.time.DateTime start_time, org.joda.time.DateTime stop_time, java.lang.String peer_name, org.json.JSONObject connection) throws java.lang.Exception
tid - Id of the tunnel - STRINGstart_time - Start time of the tunnel - DATETIMEstop_time - Stop time of the tunnel - DATETIMEpeer_name - Name of the peer connected to this tunnel - STRINGconnection - The connection parameters - JSONjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void TunnelCommandToEdge(java.lang.String tid, java.lang.String command) throws java.lang.Exception
tid - Id of the tunnel - STRINGcommand - The command - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void TunnelCommandFromEdge(java.lang.String tid, java.lang.String command) throws java.lang.Exception
tid - Id of the tunnel - STRINGcommand - The command - STRINGjava.lang.Exception - If an error occurs