Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 5300 invoked from network); 12 Jan 2006 16:28:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jan 2006 16:28:16 -0000 Received: (qmail 72892 invoked by uid 500); 12 Jan 2006 16:28:15 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 72743 invoked by uid 500); 12 Jan 2006 16:28:14 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 72731 invoked by uid 99); 12 Jan 2006 16:28:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2006 08:28:14 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.100.65.198] (HELO BUTTHEAD.daxtechnologies.com) (66.100.65.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2006 08:28:11 -0800 Received: from BEAVIS.daxtechnologies.com ([192.168.0.1]) by BUTTHEAD.daxtechnologies.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 12 Jan 2006 11:19:46 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C61795.20E8DABC" Subject: [mina] help with implementing a syslog server with mina Date: Thu, 12 Jan 2006 11:27:49 -0500 Message-ID: <3DBB246A773D8A4DAF28AAEB59EC827C01354CBB@BEAVIS.daxtechnologies.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [mina] help with implementing a syslog server with mina thread-index: AcYXleOYG6AI/JQMS+66RWCz0SFsjA== From: "Zoltan Farkas" To: X-OriginalArrivalTime: 12 Jan 2006 16:19:46.0843 (UTC) FILETIME=[0124DEB0:01C61794] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C61795.20E8DABC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am trying to implement a syslog server with mina. =20 The syslog protocol sends the messages in UDP packets (1 UDP pachet / message), messages are variable in size =20 Mina creates one Iosession / UDP packet received. =20 Since the syslog message size is not standard and for UDP transport Session open and close is not called (for IOProtocolAdapter) I cannot know when I have the complete message, since I assume the buffer can countain a partial UDP message ... =20 Can anybody give me a hint how to implement this server? =20 Right now I am trying to implement a MessageDecoder, but again I don't know when I have a complete message in the buffer !!! =20 thanks =20 --zoly =20 =20 =20 ------_=_NextPart_001_01C61795.20E8DABC Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I am trying to implement a syslog server with = mina.

 

The syslog protocol sends the messages in UDP packets = (1 UDP pachet / message), messages are variable in = size

 

Mina creates one Iosession / UDP packet = received.

 

Since the syslog message size is not standard and for = UDP transport Session open and close is not called (for IOProtocolAdapter) I cannot = know when I have the complete message, since I assume the buffer can countain a = partial UDP message …

 

Can anybody give me a hint how to implement this = server?

 

Right now I am trying to implement a MessageDecoder, = but again I don’t know when I have a complete message in the buffer = !!!

 

thanks

 

--zoly

 

 

 

------_=_NextPart_001_01C61795.20E8DABC--