Re: [Asterisk-java-devel] Implement togglePaused method for AsteriskQueueMember
Brought to you by:
srt
From: Pau T. C. <pta...@ru...> - 2008-06-12 06:56:08
|
El Wednesday 11 June 2008 08:45:47 Pau Tallada Crespí va escriure: > El Wednesday 11 June 2008 00:24:46 Stefan Reuter va escriure: > > Hi, > > > > Would it make sense to have two methods like set/getPaused instead of > > pause and unpause? > > > > =Stefan > > I'm not very good at naming methods... :P > > So, what if I reimplement methods like this? > > - void setPaused(boolean): sets paused status on current queue > - boolean getPaused(): return paused state for this queue > - void setPausedAll(boolean): sets paused state on all queues > > If you like this naming, i could reupload an updated diff. > What do you think about it? > > Regards, Hi! I've attahed a new diff on AJ-146 with the new naming convention applied. Thanks! -- Pau Tallada Crespí RunSolutions Open Source IT Consulting |