gntp timeout

24 views
Skip to first unread message

muted

unread,
Apr 7, 2012, 9:08:54 AM4/7/12
to Snarl Discussion
How do you set the notification timeout with the GNTP protocal?

Chris

unread,
Apr 7, 2012, 12:07:21 PM4/7/12
to snarl-...@googlegroups.com

On 7 Apr 2012, at 14:08, muted <visc...@inbox.com> wrote:

> How do you set the notification timeout with the GNTP protocal?

I don't believe you can. The GNTP specification allows for notifications to either be sticky or not. If they're not sticky, the timeout is determined by the GNTP server (Snarl uses the user-defined class or global timeout, in that order of preference).

If you want to manually control a notification's duration with Snarl, you can do this with any of the Snarl-specific transports (e.g. SNP).

>
> --
> You received this message because you are subscribed to the Google Groups "Snarl Discussion" group.
> To post to this group, send email to snarl-...@googlegroups.com.
> To unsubscribe from this group, send email to snarl-discus...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/snarl-discuss?hl=en.
>

viscount

unread,
Apr 7, 2012, 12:16:24 PM4/7/12
to snarl-...@googlegroups.com
Why not add an X-Notification-Delay header?

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium


Chris

unread,
Apr 7, 2012, 12:43:34 PM4/7/12
to snarl-...@googlegroups.com

On 7 Apr 2012, at 17:16, viscount <visc...@inbox.com> wrote:

> Why not add an X-Notification-Delay header?

That's a good idea - but we're not in control of the GNTP specification.

viscount

unread,
Apr 7, 2012, 12:48:29 PM4/7/12
to snarl-...@googlegroups.com
The X prefix signals that it's not part of the specification; you're
free to add your own.


On 07/04/2012 17:43, Chris wrote:
>
> On 7 Apr 2012, at 17:16, viscount<visc...@inbox.com> wrote:
>
>
>> Why not add an X-Notification-Delay header?
>>
> That's a good idea - but we're not in control of the GNTP specification.
>
>
>>
>> On 07/04/2012 17:07, Chris wrote:
>>
>>> On 7 Apr 2012, at 14:08, muted<visc...@inbox.com> wrote:
>>>
>>>
>>>
>>>> How do you set the notification timeout with the GNTP protocal?
>>>>
>>>>
>>> I don't believe you can. The GNTP specification allows for notifications to either be sticky or not. If they're not sticky, the timeout is determined by the GNTP server (Snarl uses the user-defined class or global timeout, in that order of preference).
>>>
>>> If you want to manually control a notification's duration with Snarl, you can do this with any of the Snarl-specific transports (e.g. SNP).
>>>
>>>
>>>
>>>> --
>>>> You received this message because you are subscribed to the Google Groups "Snarl Discussion" group.
>>>> To post to this group, send email to snarl-...@googlegroups.com.
>>>> To unsubscribe from this group, send email to snarl-discus...@googlegroups.com.
>>>> For more options, visit this group at http://groups.google.com/group/snarl-discuss?hl=en.
>>>>
>>>>
>>>>
>>>
>> ____________________________________________________________

>> FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks& orcas on your desktop!

Chris

unread,
Apr 7, 2012, 1:26:24 PM4/7/12
to snarl-...@googlegroups.com

On 7 Apr 2012, at 17:48, viscount <visc...@inbox.com> wrote:

> The X prefix signals that it's not part of the specification; you're free to add your own.

Yes, that's a very good point! I'll add that then as you suggest. Any others to add while I'm at it?

viscount

unread,
Apr 7, 2012, 2:05:01 PM4/7/12
to snarl-...@googlegroups.com
>
> Yes, that's a very good point! I'll add that then as you suggest. Any others to add while I'm at it?
>
>

Excellent. There's nothing else I can think of at this moment in time,
although I would like to be able to turn off all the headers in the
response that reveal the computer name, OS version, etc.

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


Chris

unread,
Apr 7, 2012, 3:37:35 PM4/7/12
to snarl-...@googlegroups.com

On 7 Apr 2012, at 19:05, viscount <visc...@inbox.com> wrote:

>>
>> Yes, that's a very good point! I'll add that then as you suggest. Any others to add while I'm at it?
>>
>>
>
> Excellent. There's nothing else I can think of at this moment in time, although I would like to be able to turn off all the headers in the response that reveal the computer name, OS version, etc.

Agreed - actually I'd quite like that as well! How about "x-response-redacted: True" as a starting point?

>
> ____________________________________________________________
> FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
> Check it out at http://www.inbox.com/earth
>
>

viscount

unread,
Apr 7, 2012, 5:19:58 PM4/7/12
to snarl-...@googlegroups.com
Yeah or X-Min(imal) could be used to return the smallest amount of
information required in the response i.e. success/failure only.

____________________________________________________________
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google TalkT and most webmails


Chris

unread,
Apr 7, 2012, 6:06:06 PM4/7/12
to snarl-...@googlegroups.com

On 7 Apr 2012, at 22:19, viscount <visc...@inbox.com> wrote:

> Yeah or X-Min(imal) could be used to return the smallest amount of information required in the response i.e. success/failure only.

There's scope for a header which indicates the level of detail which should be returned but for now I quite like the "just give me the basics" approach. It can always be expanded on later.

Oh, I'm proposing "x-notfication-duration: <secs>" for the other header you suggested - hope that's ok? It seems more logical than "delay".

>
> ____________________________________________________________
> GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
> Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google TalkT and most webmails
>
>

Reply all
Reply to author
Forward
0 new messages