/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.xmr.net.client;

import com.xmr.core.Log;
import com.xmr.net.client.Habbo;
import java.sql.ResultSet;
import org.jboss.netty.channel.Channel;

/**
 *
 * @author Adil
 * Session class
 * -Connect
 * -Dispose
 * Dispose will feature:
 * -ID
 * -Name
 * -Usage:
 * Log.WriteInfo("Connection disposed @ :"+ Habbo.getName() + Habbo.getId());
 */
public class Session {
  private Channel channel;
	private Habbo info = new Habbo();
	/******************/
	
	public Session(Channel channel) {
		this.channel = channel;
	}
	/******************/
	
	public Channel getChannel() {
		return this.channel;
	}
	/******************/
	public void dispose() {
		this.info = null;
                Log.WriteInfo("Connection disposed-->"+info.getName());
	}
	public SessionInfo getFillInfo() {
		return new SessionInfo();
	}
	/******************/
	public Habbo getHabbo() {
		return this.info;
	
}
}