Re: [Beepcore-java-users] Sending error messages
Status: Beta
Brought to you by:
huston
From: Huston <hu...@us...> - 2003-03-26 14:27:49
|
> 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 |