org.jboss.messaging.core.server
Interface ServerProducer

All Known Implementing Classes:
ServerProducerImpl

public interface ServerProducer

A ServerProducer

Author:
Tim Fox

Method Summary
 void close()
           
 long getID()
           
 boolean isWaiting()
           
 void requestAndSendCredits()
           
 void send(ServerMessage msg)
           
 void sendCredits(int credits)
           
 void setWaiting(boolean waiting)
           
 

Method Detail

getID

long getID()

close

void close()
           throws java.lang.Exception
Throws:
java.lang.Exception

send

void send(ServerMessage msg)
          throws java.lang.Exception
Throws:
java.lang.Exception

requestAndSendCredits

void requestAndSendCredits()
                           throws java.lang.Exception
Throws:
java.lang.Exception

sendCredits

void sendCredits(int credits)
                 throws java.lang.Exception
Throws:
java.lang.Exception

setWaiting

void setWaiting(boolean waiting)

isWaiting

boolean isWaiting()


Copyright © 2006 JBoss Inc. All Rights Reserved.