/* */ package org.jboss.jms.wireformat;
/* */
/* */ import java.io.DataInputStream;
/* */ import java.io.DataOutputStream;
/* */ import org.jboss.jms.delegate.BrowserEndpoint;
/* */
/* */ public class BrowserResetRequest extends RequestSupport
/* */ {
/* */ public BrowserResetRequest()
/* */ {
/* */ }
/* */
/* */ public BrowserResetRequest(String objectId, byte version)
/* */ {
/* 35 */ super(objectId, 504, version);
/* */ }
/* */
/* */ public ResponseSupport serverInvoke()
/* */ throws Exception
/* */ {
/* 42 */ BrowserEndpoint endpoint = (BrowserEndpoint)Dispatcher.instance.getTarget(this.objectId);
/* */
/* 44 */ if (endpoint == null)
/* */ {
/* 46 */ throw new IllegalStateException("Cannot find object in dispatcher with ID " + this.objectId);
/* */ }
/* */
/* 49 */ endpoint.reset();
/* 50 */ return null;
/* */ }
/* */
/* */ public void read(DataInputStream is) throws Exception
/* */ {
/* 55 */ super.read(is);
/* */ }
/* */
/* */ public void write(DataOutputStream os) throws Exception
/* */ {
/* 60 */ super.write(os);
/* 61 */ os.flush();
/* */ }
/* */ }
/* Location: /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name: org.jboss.jms.wireformat.BrowserResetRequest
* JD-Core Version: 0.6.0
*/