Vous êtes sur la page 1sur 5

TCP/IP PALETTE

Introduction
The TCP/IP palette provides activities and resources that
can send and receive data using the TCP/IP protocol.
TCP/IP is often the underlying communication layer for
higher-level protocols such as HTTP or FTP.
This palette is intended for use when communicating
with TCP/IP and there is no corresponding TIBCO
ActiveMatrix BusinessWorks palette for the protocol.
There
may
have
a
custom
application
that
communicates with other applications by way of TCP/IP.
You could use the TCP/IP palette to handle incoming and
outgoing data from this application.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Using TCP/IP Palette Activities


1. Create a TCP Connection shared configuration resource that describes the
connection information.
2. One of the following occurs depending upon whether the process definition is
TCP/IP client or server:
a. When a process definition acts as a TCP/IP client communicating with a
TCP/IP server, a connection must be opened using the TCP Open
Connection activity.
b. When a process definition acts as a TCP/IP server waiting for incoming
TCP/IP requests, the process either starts with a TCP Receiver process
starter or has a Wait for TCP Request activity that waits for an incoming
connection request.
3. In the process definition the Read TCP Data and Write TCP Data activities are
used to read and write data to the TCP connection.
4. Once all processing is complete, the TCP Close Connection activity is used to
close the TCP connection.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Activities
Activity
Icon

Activity
Name

Description

Read TCP
Data

The Read TCP Data activity reads data from an open TCP
connection. The connection must be opened by an activity or
process starter that executed previously in the process
definition.

TCP Close
Connection

The TCP Close Connection activity closes a TCP connection


opened by a previously executed activity or process starter.

TCP
Connection

The TCP Connection is a shared configuration resource that


specifies the connection information for the TCP server. This
resource is used when a process definition acts as a TCP client
connecting to a remote server or when a process definition acts
as a TCP server accepting incoming TCP connections.

TCP Open
Connection

The TCP Open Connection activity opens a connection to a TCP


server. After establishing the connection, the activity places a
handle to the open connection in the connection Key output
element

TCP
Receiver

The TCP Receiver process starter starts a new process when a


client requests a TCP connection. When a connection request
occurs, the process starter places a handle to the open
connection in the connection Key output element

Wait for
TCP

The Wait for TCP Request activity waits for a TCP client

WISHTREE TECHNOLOGIES CONFIDENTIAL: This


document is for
your company's
internal
use only and may request
not be copied
nor
connection
request.
When
a connection
occurs,
distributed to another third party.

activity places a handle to the open connection in the

the

THANK YOU
Contact Us:
WishtreeTechnologies
Suite 311, Bldg B,
Ganga Osian(GO) Square IT Park,
Wakad Rd, Kaspate Wasti,
Wakad, Pune, 411057
Contact No. +912060123456
Email id:learning@wishtreetech.com
US Contact No. +415-251-5098
UK Contact No. +44 7937436285
Mobile No. India +91 9687206535
Website:
http://www.wishtreetech.com
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Vous aimerez peut-être aussi