Send Session

Secure Easy IM may establish send sessions in one of three modes:

  • Single file send.
  • Single Batch mode then terminate.
  • Batch mode then stay active sending files as they are deposited in a specified send directory.

In single file mode, Seim will send a single file specified by the -f switch and terminate.

In Single Batch mode, Secure Easy IM will send all files in an indicated directory that pass a filter specified in the -f switch. Secure Easy IM will then terminate.

In Batch mode, Secure Easy IM will send all files as in the Single Batch mode. After sending, Secure Easy IM stay active. Any additional files deposited in the send directory which pass the -f filter will be sent. In this case, Secure Easy IM is terminated by keying a Ctrl-C.

Secure Easy IM will specify the remote iBox (Trading Partner that is to receive the message) and optionally a process that is requested to be executed by the receiving partners host on receipt of the message. Note: the receiving partner may override the request to execute a given process on receipt. Furthermore, any requested process must be a Java class in the receiver's Edbins Package.

The incoming message is accepted and stored in the Secure Easy IM Server's database for forwarding onto the destination iBox or intermediate processing as required.

The Secure Easy IM Server also records the number of characters in the message for auditing and billing purposes. Confirmation of the successful receipt of the message by the Secure Easy IM Server is immediately sent to the sending Secure Easy IM.

If intermediate processing has been requested by the sending Secure Easy IM, Secure Easy Internet Messaging will invoke the specified intermediate process.

Immediately upon receipt of the message by the Secure Easy IM server (or completion of the intermediate processing), the server determines from its database whether the destination iBox is 'checked in', i.e. listening. If so, contact with the destination iBox's listening Secure Easy IM is attempted by sending a short message to the specified IP address and listening port. If the destination Secure Easy IM responds with a Receive request, then the message is immediately delivered and so marked in the Secure Easy IM Server database. If the destination iBox's Secure Easy IM does not respond, then the message is retained in the Secure Easy Internet Messaging database until the destination iBox's Secure Easy IM contacts the Secure Easy IM Server and requests delivery. An iBox's Secure Easy IM is considered to be listening if it has sent the Secure Easy IM Server a message within the previous 'n' minutes advising it of the IP address and port number on which it is listening. The number of minutes, 'n', is an installation parameter.

Once a message is delivered, its audit trail in the Secure Easy Internet Messaging database is so marked. The message will be retained in the database for a pre-determined number of days (retain period) against the possibility that a re-transmission will be requested. The message will be deleted once the retention period is over.

If message delivery is not requested within the retention period, then the message is deleted from the database and so noted in its audit trail.