Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /jms4spread/src/java/org/tigris/jms4spread/

jms4spread
Discussion topic

Back to topic list

CVS update: /jms4spread/src/java/org/tigris/jms4spread/

Reply

Author dlr
Full name Daniel Rall
Date 2002-07-21 18:29:10 PDT
Message User: dlr
Date: 02/07/21 18:29:10

Added
 /jms4spread/src/java​/org/tigris/jms4spre​ad/
  JMSSession.java

Log
 Initial stub of a JMS Session.

File Changes:

Directory: /jms4spread/src/java​/org/tigris/jms4spre​ad/
====================​====================​==============

File [added]: JMSSession.java
Url: http://jms4spread.ti​gris.org/source/brow​se/jms4spread/src/ja​va/org/tigris/jms4sp​read/JMSSession.java​?rev=1.1&content​-type=text/x-cvsweb-​markup
Added lines: 153
----------------
package org.tigris.jms4spread;

import java.io.Serializable;

import javax.jms.BytesMessage;
import javax.jms.JMSException;
import javax.jms.MapMessage;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.ObjectMessage;
import javax.jms.Session;
import javax.jms.StreamMessage;
import javax.jms.TextMessage;

/**
 * @author <a href="mailto:dlr@fin​emaltcoding.com">​Daniel Rall</a>
 * @since 0.1
 */
public abstract class JMSSession
    implements Session
{
    private boolean transacted;

    private MessageListener listener;

    protected JMSSession(boolean transacted)
    {
        this.transacted = transacted;
        listener = null;
    }

    /**
     *
     */
    public void close()
    {
        // TODO
    }

    /**
     *
     */
    public void commit()
    {
        // TODO
    }

    /**
     *
     */
    public BytesMessage createBytesMessage()
    {
        // TODO
        return null;
    }

    /**
     *
     */
    public MapMessage createMapMessage()
    {
        // TODO
        return null;
    }

    /**
     *
     */
    public Message createMessage()
    {
        // TODO
        return null;
    }

    /**
     *
     */
    public ObjectMessage createObjectMessage()
    {
        // TODO
        return null;
    }

    /**
     *
     */
    public ObjectMessage createObjectMessage(​Serializable object)
    {
        // TODO
        return null;
    }

    /**
     *
     */
    public StreamMessage createStreamMessage()
    {
        // TODO
        return null;
    }

    /**
     *
     */
    public TextMessage createTextMessage()
    {
        // TODO
        return null;
    }

    /**
     *
     */
    public TextMessage createTextMessage(String text)
    {
        // TODO
        return null;
    }

    /**
     *
     */
    public MessageListener getMessageListener()
    {
        // TODO
        return null;
    }

    public boolean getTransacted()
    {
        return transacted;
    }

    public void recover()
    {
        // TODO
    }

    public void rollback()
    {
        // TODO
    }

    public void run()
    {
        // TODO
    }

    public void setMessageListener(M​essageListener listener)
    {
        this.listener = listener;
    }
}




--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@jms4​spread.tigris.org
For additional commands, e-mail: cvs-help at jms4spread dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /jms4spread/src/java/org/tigris/jms4spread/ dlr Daniel Rall 2002-07-21 18:29:10 PDT
Messages per page: