org.walluck.oscar
Class Redir

java.lang.Object
  extended by org.walluck.oscar.Redir

public class Redir
extends Object

A connection may be redirected to another server at any time. This class stores some information we need to perform the redirect.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
Redir()
          Creates a new redirect class.
 
Method Summary
 Chat getChat()
          Get the value of chat.
 byte[] getCookie()
          Get the value of cookie.
 int getGroup()
          Get the value of group.
 String getIp()
          Get the value of ip.
 void setChat(Chat chat)
          Set the value of chat.
 void setCookie(byte[] cookie)
          Set the value of cookie.
 void setGroup(int group)
          Set the value of group.
 void setIp(String ip)
          Set the value of ip.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Redir

public Redir()
Creates a new redirect class.

Method Detail

getGroup

public int getGroup()
Get the value of group.

Returns:
value of group.

setGroup

public void setGroup(int group)
Set the value of group.

Parameters:
group - Value to assign to group.

getIp

public String getIp()
Get the value of ip.

Returns:
value of ip.

setIp

public void setIp(String ip)
Set the value of ip.

Parameters:
ip - Value to assign to ip.

getCookie

public byte[] getCookie()
Get the value of cookie.

Returns:
value of cookie.

setCookie

public void setCookie(byte[] cookie)
Set the value of cookie.

Parameters:
cookie - Value to assign to cookie.

getChat

public Chat getChat()
Get the value of chat.

Returns:
value of chat.

setChat

public void setChat(Chat chat)
Set the value of chat.

Parameters:
chat - Value to assign to chat.