/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  javax.jms.JMSException
 */
package com.l7tech.server.transport.jms2;

import com.l7tech.server.transport.jms.JmsBag;
import com.l7tech.server.transport.jms.JmsRuntimeException;
import com.l7tech.server.transport.jms2.JmsResourceManager;
import java.util.concurrent.atomic.AtomicLong;
import javax.jms.JMSException;
import javax.naming.NamingException;

public interface SessionHolder {
    public String getName();

    public int getEndpointVersion();

    public int getConnectionVersion();

    public void touch();

    public JmsBag borrowJmsBag() throws JmsRuntimeException, NamingException;

    public void returnJmsBag(JmsBag var1);

    public void doWithJmsResources(JmsResourceManager.JmsResourceCallback var1) throws JMSException, JmsRuntimeException, NamingException;

    public boolean ref();

    public void unRef();

    public void close();

    public int refCount();

    public long getCreatedTime();

    public AtomicLong getLastAccessTime();
}

