|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.pluginsimpl.local.network.IncomingMessageQueueImpl
public class IncomingMessageQueueImpl
Constructor Summary | |
---|---|
protected |
IncomingMessageQueueImpl(IncomingMessageQueue core_queue)
|
Method Summary | |
---|---|
void |
deregisterListener(IncomingMessageQueueListener listener)
Remove registration of queue listener. |
int |
getPercentDoneOfCurrentMessage()
|
void |
notifyOfExternalReceive(Message message)
Notifty the queue (and its listeners) of a message received externally on the queue's behalf. |
void |
registerListener(IncomingMessageQueueListener listener)
Register queue listener. |
void |
registerPriorityListener(IncomingMessageQueueListener listener)
Register queue listener that will get to process messages *ahead* of the core. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected IncomingMessageQueueImpl(IncomingMessageQueue core_queue)
Method Detail |
---|
public void registerListener(IncomingMessageQueueListener listener)
IncomingMessageQueue
registerListener
in interface IncomingMessageQueue
listener
- to registerpublic void registerPriorityListener(IncomingMessageQueueListener listener)
IncomingMessageQueue
registerPriorityListener
in interface IncomingMessageQueue
public void deregisterListener(IncomingMessageQueueListener listener)
IncomingMessageQueue
deregisterListener
in interface IncomingMessageQueue
listener
- to removepublic void notifyOfExternalReceive(Message message) throws IOException
IncomingMessageQueue
notifyOfExternalReceive
in interface IncomingMessageQueue
message
- received externally
IOException
public int getPercentDoneOfCurrentMessage()
getPercentDoneOfCurrentMessage
in interface IncomingMessageQueue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |