org.jboss.messaging.core.server.impl
Class ServerProducerImpl
java.lang.Object
org.jboss.messaging.core.server.impl.ServerProducerImpl
- All Implemented Interfaces:
- ServerProducer
public class ServerProducerImpl
- extends java.lang.Object
- implements ServerProducer
A ServerProducerImpl
- Author:
- Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerProducerImpl
public ServerProducerImpl(long id,
long clientTargetID,
ServerSession session,
SimpleString address,
PacketReturner sender,
FlowController flowController,
int windowSize)
throws java.lang.Exception
- Throws:
java.lang.Exception
getID
public long getID()
- Specified by:
getID
in interface ServerProducer
close
public void close()
throws java.lang.Exception
- Specified by:
close
in interface ServerProducer
- Throws:
java.lang.Exception
send
public void send(ServerMessage message)
throws java.lang.Exception
- Specified by:
send
in interface ServerProducer
- Throws:
java.lang.Exception
requestAndSendCredits
public void requestAndSendCredits()
throws java.lang.Exception
- Specified by:
requestAndSendCredits
in interface ServerProducer
- Throws:
java.lang.Exception
sendCredits
public void sendCredits(int credits)
throws java.lang.Exception
- Specified by:
sendCredits
in interface ServerProducer
- Throws:
java.lang.Exception
setWaiting
public void setWaiting(boolean waiting)
- Specified by:
setWaiting
in interface ServerProducer
isWaiting
public boolean isWaiting()
- Specified by:
isWaiting
in interface ServerProducer
Copyright © 2006 JBoss Inc. All Rights Reserved.