Connection
The Connection node specifies a network connection such as a TCP/IPsocket.
Inheritance
Code
XML encoding
<Connection timeOut='0' triggerName='Timer' url='' protocol='1' secure='TRUE' description='' enabled='TRUE' logFeature='' />
Classic encoding
Connection {
timeOut 0
triggerName "Timer"
url [""]
protocol 1
secure TRUE
description ""
enabled TRUE
logFeature [""]
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| protocol | SFInt32 | initializeOnly | 1 | The protocol field is a code specifying the underlying protocol (such as HTTP, ftp, TCP/IP, UDP) to use: 0 means underlying protocol is defined by the application protocol, 1 for HTTP (default), 2 for HTTP1.1, 3 for TCP/IP, 4 for UDP, 5 for multicast. | ||
| secure | SFBool | initializeOnly | TRUE | secure is TRUE by default and means that only connections to the originating server are accepted. | ||
| triggerName | SFString | initializeOnly | Timer | name of the dynamic context-slot which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOut to the triggerSlot-eventInput Slot. | ||
| triggerSlot | SFTime | inputOnly | slot which is used internally to connect a dynamic context-slot which name is set by the triggerName value. Its used automatically to install run-time environment trigger. | |||
| description | SFString | inputOutput | Text description to comment the sensor task. Can be used in run-time systems to give usefull feedback to the user and developer | |||
| enabled | SFBool | inputOutput | TRUE | Enables/disables the sensor node. | ||
| logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
| metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
| timeOut | SFTime | inputOutput | 0 | Time in seconds of maximum load duration prior to declaring failure. Default value zero means use browser defaults. | ||
| url | MFString | inputOutput | The url field identifies the application protocol://network address:port number triplet for the stream in the style of urls. | |||
| isActive | SFBool | outputOnly | FALSE | isActive true/false events are sent when the sensor gets active |
