Re: Sending error messages
"Huston" <[email protected]> Wed, 26 Mar 2003 07:27:43 -0700
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <02ce01c2f3a3$dd1e3b40$0201000a@gummy> |
> So while messing around with profiles and such, and trying to follow the > TLS profile, I have noticed that the TLS profiles piggyback data with the > start message. If I want a profile that can support piggybacked data, how > would I reply to this piggybacked data in the start message with an > error? Or even, how would I send an error frame on the channel? From what > I can see, one can only send MSG frames unless one has a Message object > and one is not provided with a piggybacked message, only a string with > the data. Unfortunately this is one of the ugly spots in the library. There is a setStartData method on the channel that is used to send a piggyback'd reply. I have another way I want to do this but there are other things in the queue ahead of it. --Huston ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en