Lines Matching defs:LDT
45 B<IPC::LDT> - implements a length based IPC protocol
80 B<IPC::LDT> provides a class to build objects which transparently perform such "I<l>ength
82 the LDT objects perform the complete translation into and from LDT messages (with prefix)
85 B<IPC::LDT> objects can be configured to transfer simle string messages as well as complex
93 use IPC::LDT;
95 Make an LDT object for every handle that should be used in an LDT communication:
97 my $asciiClient=new IPC::LDT(handle=>HANDLE);
98 my $objectClient=new IPC::LDT(handle=>HANDLE, objectMode=>1);
118 package IPC::LDT::Filter::MeTrace;
162 package IPC::LDT::Filter::Assert;
214 package IPC::LDT;
224 IPC::LDT::Filter::MeTrace::import() unless ${join('::', __PACKAGE__, 'Trace')};
228 IPC::LDT::Filter::Assert::import(${join('::', __PACKAGE__, 'noAssert')});
304 You may set the module variable B<$IPC::LDT::Trace> I<before> the module
312 I<If> B<$IPC::LDT::Trace> is set before the module is loaded, te builtin
318 So, if you want to trace every object, set B<$IPC::LDT::Trace> initially
320 unset B<$IPC::LDT::Trace> after the module is loaded and construct these
329 by default) by setting the module variable B<$IPC::LDT::noAssert> I<before>
346 a handle related to an LDT object was closed when reading or writing
392 my $asciiClient=new IPC::LDT(...);
424 any partner who speaks the LDT protocol. We use Java and C clients as well
435 sets the length of the initial info block which preceds every LDT
454 this constructor parameter) via I<$IPC::LDT::Trace>. This is described
469 my $asciiClient=new IPC::LDT(handle=>HANDLE);
470 my $objectClient=new IPC::LDT(handle=>HANDLE, objectMode=>1);
507 $me->trace("LDT $me->{'fileno'}: object is made.");
532 $me->trace("LDT ${\($fileno?$fileno:qq(with closed handle, was $me->{'fileno'}))}: object dies. Queue is", (defined $me->{'delayQueue'} and @{$me->{'delayQueue'}}) ? 'filled.' : 'empty.');
541 Switches the LDT object to "object trasnfer mode" which means that
554 An LDT object made by I<new()>.
572 $me->trace("LDT $me->{'fileno'}: object switches into object mode.");
584 Switches the LDT object to "ASCII trasnfer mode" which means that
597 An LDT object made by I<new()>.
615 $me->trace("LDT $me->{'fileno'}: objekt switches into ASCII mode.");
629 can use I<delay()> to install a filter which enforces the LDT object
651 An LDT object made by I<new()>.
698 $me->trace("LDT $me->{'fileno'}: object is setting a new delay filter.");
724 An LDT object made by I<new()>.
774 $me->trace("LDT $me->{'fileno'}: object stops delay and sends", scalar(@{$me->{'delayQueue'}}), "stored message(s).");
788 $me->trace("LDT $me->{'fileno'}: object was enforced to stop delay, but there was no delay set before.");
808 An error will occur, for example, if the handle related to the LDT object
833 An LDT object made by I<new()>.
855 The handle associated with the LDT object is made I<non blocking> during
869 $me->trace("LDT $me->{'fileno'}: starting send.");
875 $me->trace("LDT $me->{'fileno'}: message unsent: object is in state $me->{'rc'}.");
883 $me->trace("LDT $me->{'fileno'}: message unsent: related handle was closed.");
898 $me->trace("LDT $me->{'fileno'}: message unsent: handle was closed.");
916 $me->trace("LDT $me->{'fileno'}: new message on the way ...");
922 $me->trace("LDT $me->{'fileno'}: sent message: $msg.");
955 An LDT object made by I<new()>.
972 $me->trace("LDT $me->{'fileno'}: object resets error state.");
990 An error will occur, for example, if the handle related to the LDT object
1014 An LDT object made by I<new()>.
1033 The handle associated with the LDT object is made I<non blocking> during
1049 $me->trace("LDT $me->{'fileno'}: startet receiving.");
1055 $me->trace("LDT $me->{'fileno'}: stopped receiving: object is in state $me->{'rc'}.");
1063 $me->trace("LDT $me->{'fileno'}: stopped receiving: object is in state $me->{'rc'}.");
1142 $me->trace("LDT $me->{'fileno'}: $me->{'msg'}");
1151 $me->trace("LDT $me->{'fileno'}: read $readBytes bytes gelesen, still waiting for $length.");
1161 $me->trace("LDT $me->{'fileno'}: waitig for a new chance to read remaining $length bytes ($trials. trial).");
1169 $me->trace("LDT $me->{'fileno'}: $me->{'msg'}");
1176 $me->trace("LDT $me->{'fileno'}: message received: \"$$targetBufferRef\".");
1218 $me->trace("LDT $me->{'fileno'}: $me->{'msg'}");
1226 $me->trace("LDT $me->{'fileno'}: wrote $writtenBytes bytes, $length bytes still waiting.");
1236 $me->trace("LDT $me->{'fileno'}: waiting for a new chance to write remaining $length bytes ($trials. trial).");
1244 $me->trace("LDT $me->{'fileno'}: $me->{'msg'}");
1251 $me->trace("LDT $me->{'fileno'}: message sent completely: \"$$srcBufferRef\".");
1283 replies the modules version. It simply replies $IPC::LDT::VERSION and is
1290 warn "[Info] IPC is performed by IPC::LDT ", IPC::LDT::version, ".\n";
1297 $IPC::LDT::VERSION;
1321 To share data between processes, you could embed a socket into an LDT object.
1324 my $ldt=new IPC::LDT(handle=>$ipc, objectMode=>1);