Unix and Linux Discussions Tagged with transfer |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
10 |
4,016 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,504 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,320 |
Shell Programming and Scripting |
|
|
|
3 |
6,746 |
Shell Programming and Scripting |
|
|
|
1 |
2,537 |
Shell Programming and Scripting |
|
|
|
9 |
13,903 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,641 |
UNIX for Dummies Questions & Answers |
|
|
|
36 |
125,032 |
IP Networking |
|
|
|
0 |
1,005 |
Software Releases - RSS News |
|
|
|
1 |
4,152 |
Filesystems, Disks and Memory |
|
|
|
0 |
1,539 |
UNIX and Linux RSS News |
|
|
|
0 |
1,796 |
UNIX and Linux RSS News |
|
|
|
0 |
1,453 |
UNIX and Linux RSS News |
|
|
|
1 |
1,659 |
Chat with iBot - Our RSS Robot Girl |
|
|
|
1 |
10,331 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,697 |
UNIX and Linux RSS News |
|
|
|
6 |
32,381 |
IP Networking |
|
|
|
11 |
10,215 |
SCO |
|
|
|
0 |
1,155 |
Software Releases - RSS News |
|
|
|
3 |
4,302 |
Shell Programming and Scripting |
|
|
|
0 |
1,425 |
UNIX and Linux RSS News |
|
|
|
1 |
13,144 |
Shell Programming and Scripting |
|
|
|
1 |
1,919 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,084 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,212 |
UNIX and Linux RSS News |
|
|
|
1 |
2,455 |
IP Networking |
|
|
|
3 |
6,764 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,457 |
Linux |
|
|
|
0 |
1,406 |
UNIX and Linux RSS News |
|
|
|
1 |
5,579 |
UNIX and Linux Applications |
|
|
|
4 |
4,445 |
Shell Programming and Scripting |
|
|
|
8 |
7,225 |
IP Networking |
|
|
|
2 |
9,572 |
Shell Programming and Scripting |
|
|
|
2 |
7,143 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
14,513 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
12,840 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,560 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
8,133 |
IP Networking |
|
|
|
3 |
4,783 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,644 |
UNIX for Dummies Questions & Answers |
transfer::transmitter(n) Data transfer facilities transfer::transmitter(n)
__________________________________________________________________________________________________________________________________________________
NAME
transfer::transmitter - Data source
SYNOPSIS
package require Tcl 8.4
package require snit ?1.0?
package require transfer::copy ?0.1?
package require transfer::data::source ?0.1?
package require transfer::connect ?0.1?
package require transfer::transmitter ?0.1?
transfer::transmitter object ?options...?
object destroy
object start
object busy
_________________________________________________________________
DESCRIPTION
This package pulls data sources and connection setup together into a combined object for the transmission of information over a socket.
These objects understand all the options from objects created by the packages transfer::data::source and transfer::connect.
API
transfer::transmitter object ?options...?
This command creates and configures a new transmitter object. The fully qualified name of the object command is returned as the
result of the command.
See the packages transfer::data::source and transfer::connect for the main options recognized. Here we describe only the options
which go beyond the referenced set.
-command cmdprefix
This option specifies the command to invoke when the transmission of the information in the data source has been completed.
The arguments given to this command are the same as given to the completion callback of command transfer::copy::do, see pack-
age transfer::copy.
-blocksize int
This option specifies the size of the chunk to be transmitted in one block. It is optional and defaults to 1024.
object destroy
This method destroys the object. Doing so while a transmission is on progress will cause errors later on, when the transmission com-
pletes and tries to access the now missing data structures of the destroyed object.
object start
This method initiates the data transmission, setting up the connection first and then copying the information. The method will
throw an error if a transmission is already/still in progress. I.e. it is not possible to run two transmissions in parallel, only in
sequence. Errors will also be thrown if the configuration of the data source is invalid, or if no completion callback was specified.
The result returned by the method the same as the result of method connect, see package transfer::connect.
object busy
This method returns a boolean value telling us whether a transmission is in progress (True), or not (False).
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category transfer
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
channel, copy, data source, transfer, transmitter
COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
transfer 0.1 transfer::transmitter(n)