TCPIPReceiver.
Note:Can be used in conjunction withTCPIPSender。
通过TCP / IP接收原始数据。每次接收到指定数量的字节或检测到特定序列时,生成特征。
将数据从一个FME进程传输到另一个FME过程:在源FME工作区中使用TCPIPENDER变压器将数据发送到接收FME工作空间中的TCPIPReceiver变压器。
输入端口
该变形器没有输入端口。
输出端口
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
Features containing the data that has been received are output through this port.
参数
连接ion
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
这启动序列specifies whether the transformer is responsible for establishing the connection (建立)或连接到建立主机(连接)。如果TCPIPreCeiver与相应的TCPIPENER一起使用,则发送者或接收器可以是建立者。
Note:建立传输模式的工作空间必须在连接工作区之前运行。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
工作空间仅需要此参数启动序列parameter set to连接。tcpipreceiver连接模式可以连接到指定的主机并侦听数据。建立主机可以是另一个FME工作区,或通过TCP / IP通信的任何应用程序或服务器。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
指定端口号或服务(例如,http.那FTP.那telnet.那IMAP.那吞咽那POP3.那www那andsmtp是通常与众所周知的端口号相关联的服务)。
默认值为8586。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
如果此参数设置为No那the TCPIPReceiver will only accept one connection to receive features from. Otherwise the TCPIPReceiver will accept new client connections if the current client has disconnected until the translation is stopped.
Delimiting
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
如果此参数设置为固定数据长度然后,TCPIPReceiver输出的每个功能都将包含最大数字节数,由此指定数据长度范围。该方法旨在接收始终具有固定长度的数据。
如果此参数设置为从发件人接收数据长度然后,TCPIPreCeiver将期望在数据有效载荷之前接收传入数据的大小,最高可达每个请求256KB。以这种方式,价值数据长度is determined dynamically by the sender, rather than set at a fixed value by the receiver. If the sender transmits more than 256KB, then the output data will be divided into 256KB segments. If the TCPIPReceiver is used in conjunction with a TCPIPSender, then the TCPIPSender should have the发送数据长度attribute set toYes。如果此参数设置为No然后,TCPIPreCeiver将所有传入传输处理为原始数据。
如果此参数设置为自定义分隔符,然后,TCPIPEreiver将使用指定的特定将收到的数据拆分为功能分隔符parameter, up to a maximum of 256KB per feature.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
Specify the maximum number of bytes that the transformer receives before it outputs a feature. In the event that the connection is terminated, the transformer will output any remaining data. If -1 is entered as a value for this parameter, then the TCPIPReceiver will receive up to 256KB per request. Only used if划定方法设定为固定数据长度。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
指定将接收数据分成段的字符串。每个段都将成为一个单独的功能。例如,如果分隔符是字符串“__”,然后数据“abc__def_ghi”将被分成3个功能输出Attribute“abc”,“def”和“ghi”的值分别。
输出
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
Specify the output attribute that will store the received data.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
指定TCPIPReceiver接收的字节数的目标属性。
使用说明
- 一个工作空间是传输流的指定的“建立者”。如果工作区之间有多个传输流,则一个工作空间必须是所有流的构建器,另一个工作空间必须连接到这些传输流。这是无论各个运输函数是否正在发送或接收数据。
- 必须在连接的工作空间之前启动建立工作空间。TCPIPReceiver / TCPIPER不能成功连接到尚未建立的传输流。
- 对于每个传输通道,必须有一个用于每个服务器计算机的不同端口。
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, clickbeside the applicable parameter. For more information, see变压器参数菜单选项。
Transformer Categories
FME许可级别
FME专业版及以上
搜索FME知识中心
搜索有关此变压器的样本和信息FME知识中心。