TCPIP Related UDR Types - Processing Agent(4.2)
These are the UDRs related to the TCP IP processing agent.
RemoteHostConfig
The RemoteHostConfig UDR contains the connection details for the remote host. This UDR is included in all the other UDR types.
The following fields are included in the RemoteHostConfig:
Field | Description |
|---|---|
| This field contains the hostname or IP address to the remote host. |
| This field contains the port to the remote host. |
ConnectionRequestUDR
When the agent receives this UDR, it tries to establish a new connection, or close a connection to a a remote host. The agent then returns the ConnectionStateUDR containing information about the current state of the connection.
The following fields are included in the ConnectionRequestUDR:
Field | Description |
|---|---|
| This field determines whether the request is for opening or closing a connection. If a new connection is to be made, this field is set to |
| This is the RemoteHostConfig UDR containing the connection details. |
ConnectionStateUDR
The agent returns the ConnectionStateUDR when a ConnectionRequestUDR has been sent, as well as if a connection goes down for some reason.
The following fields are included in the ConnectionReqeustUDR:
Field | Description |
|---|---|
| If you have a valid connection (see the |
| This is the |
| This field indicates if the connection details in the |
RequestUDR
When the agent receives a RequestUDR it tries to send the included bytearray to the remote host.
The following fields are included in the RequestUDR:
Field | Description |
|---|---|
| This field contains the actual data to be sent. |
| This is the |
ResponseUDR
If the TCP/IP processing agent has been configured to handle responses, it returns ResponseUDRs to the workflow.
The following fields are included in the ResponseUDR:
Field | Description |
|---|---|
| This field contains the response. |
| This is the |
Note!
An internal buffer in the TCP/IP processing agent limits the maximum data size of a response. If the size exceeds 1024 bytes, the response may be split into multiple UDRs. For each response that exceeds the limit, the agent automatically increases the buffer size in a stepwise manner.
ErrorUDR
The agent returns the ErrorUDR if a RequestUDR fails.
The following fields are included in the ErrorUDR:
Field | Description |
|---|---|
| This is original data from the |
| This field contains the reason for the failure. |
| This field contains the stack trace from the failure. Note! This field should only be read if absolutely necessary, since it requires a large amount of CPU. |
| This is the |
Note!
The ErrorUDR type is a subtype of the ResponseUDR type. This means that if e g instanceOf(input,ErrorUDR) evaluates to true, then instanceOf(input,ResponseUDR) also evaluates to true.