rero.dcc

Class Chat

public class Chat extends ProtocolDCC implements ClientStateListener

Field Summary
protected BufferedReaderinput
protected PrintStreamoutput
Constructor Summary
Chat(String _nickname)
Method Summary
voidfireError(String description)
voidfireEvent(String event, String description)
StringgetNickname()
returns the nickname of who we are having a *chat* with
intgetTypeOfDCC()
voidpropertyChanged(String property, String value)
voidrun()
voidsendln(String text)
sends a message to the chat

Field Detail

input

protected BufferedReader input

output

protected PrintStream output

Constructor Detail

Chat

public Chat(String _nickname)

Method Detail

fireError

public void fireError(String description)

fireEvent

public void fireEvent(String event, String description)

getNickname

public String getNickname()
returns the nickname of who we are having a *chat* with

getTypeOfDCC

public int getTypeOfDCC()

propertyChanged

public void propertyChanged(String property, String value)

run

public void run()

sendln

public void sendln(String text)
sends a message to the chat