irssibot.core
Class Nick

java.lang.Object
  |
  +--irssibot.core.Nick

public class Nick
extends java.lang.Object

Represents a nick actually sitting on an irc chennel.

Author:
Matti Dahlbom

Field Summary
private  Host host
           
private  boolean op
           
private  boolean voice
           
 
Constructor Summary
Nick(Host host, boolean op, boolean voice)
           
 
Method Summary
 Host getHost()
           
 boolean isOp()
           
 boolean isVoice()
           
 void setNick(java.lang.String newNick)
           
 void setOp(boolean state)
           
 void setVoice(boolean state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

private Host host

op

private boolean op

voice

private boolean voice
Constructor Detail

Nick

public Nick(Host host,
            boolean op,
            boolean voice)
Method Detail

getHost

public Host getHost()

isOp

public boolean isOp()

isVoice

public boolean isVoice()

setOp

public void setOp(boolean state)

setVoice

public void setVoice(boolean state)

setNick

public void setNick(java.lang.String newNick)


IrssiBot (c) 2000-2002 Matti Dahlbom