FileDocCategorySizeDatePackage
OutgoingMessageQueue.javaAPI DocAzureus 3.0.3.42016Thu Feb 09 19:42:52 GMT 2006org.gudy.azureus2.plugins.network

OutgoingMessageQueue

public interface OutgoingMessageQueue
Queue for sending outgoing messages.

Fields Summary
Constructors Summary
Methods Summary
public voidderegisterListener(OutgoingMessageQueueListener listener)
Remove registration of queue listener.

param
listener to remove

public intgetPercentDoneOfCurrentMessage()

public voidnotifyOfExternalSend(Message message)
Notifty the queue (and its listeners) of a message sent externally on the queue's behalf.

param
message sent externally

public voidregisterListener(OutgoingMessageQueueListener listener)
Register queue listener.

param
listener to register

public voidsendMessage(Message message)
Queue the given message for sending.

param
message to send

public voidsetEncoder(MessageStreamEncoder encoder)
Set the message stream encoder that will be used to encode outgoing messages.

param
encoder to use