|
-
Dec 6th, 2001, 10:01 AM
#1
Thread Starter
Lively Member
Priority Queues!!!
How do i add an elemnt with a given priority into a sorted priority queue?
Help!!!
-
Dec 9th, 2001, 08:59 PM
#2
Addicted Member
Hmmm... Didn't know there were priority queues. After checking, however, it looks like to solve your problem, you need to issue a send command with the appropriate arguments. There are four different methods called send and two of them allow you to assign a priority.
I'd try this one:
send(Message message, int deliveryMode, int priority, long timeToLive)
cudabean
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|