dbTalk Databases Forums  

How to Shutdown the dblsn process ?

sybase.public.sqlanywhere.ultralite sybase.public.sqlanywhere.ultralite


Discuss How to Shutdown the dblsn process ? in the sybase.public.sqlanywhere.ultralite forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
thomas.yung.manho@gmail.com
 
Posts: n/a

Default How to Shutdown the dblsn process ? - 10-08-2007 , 05:53 AM






Dear all,

Please give some advice on how to shutdown the dblsn process
programmatically instead of the "ShutDown" button. I am using ASA 9
Build# 3228, I am a C# writer, please help !! thanks !!

Thomas Yung


Reply With Quote
  #2  
Old   
Michael Thode
 
Posts: n/a

Default Re: How to Shutdown the dblsn process ? - 10-11-2007 , 10:40 AM






One way to do it is using the action called DBLSN FULL SHUTDOWN.

e.g. dblsn.exe -l "subject=myshutdown;action='DBLSN FULL SHUTDOWN'" ...

When the listener receive a message with subject equals "myshutdown", it
will shutdown. The message may come through any media that the listener is
currently listening on. The source of the message can be the notifier or
another local or external process that uses the simplest version of message
format. The simplest version of the message format is [<subject>]<content>1.

Continue with the previous example, assume the listener is listening on UDP
on port 1234. Then sending a datagram with the following plaintext to port
1234 will shutdown your listener.

[myshutdown]whatever1

Likewise, if the listener is listening on SMS. An SMS message with
subject=myshutdown and content=whatever1 will be able to shutdown the
listener.

<thomas.yung.manho (AT) gmail (DOT) com> wrote

Quote:
Dear all,

Please give some advice on how to shutdown the dblsn process
programmatically instead of the "ShutDown" button. I am using ASA 9
Build# 3228, I am a C# writer, please help !! thanks !!

Thomas Yung




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.