|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjerklib.WriteRequest
public class WriteRequest
WriteRequest - this is sent to a Connection whenever a 'write' needs to happen. There are 3 types of WriteRequests. PRIV_MSG , DIRECT_MSG , RAW_MSG (from the Type enum). RAW_MSG is used when you need direct access to the IRC stream , else PRIV_MSG or DIRECT_MSG should be used.
Nested Class Summary | |
---|---|
static class |
WriteRequest.Type
Type enum is used to determine type. |
Method Summary | |
---|---|
Channel |
getChannel()
Get Channel associated with the request. |
String |
getMessage()
Get message part of request |
String |
getNick()
Get the nick used for this request |
Session |
getSession()
Return the Session |
WriteRequest.Type |
getType()
Type of request |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public WriteRequest.Type getType()
public String getMessage()
public Channel getChannel()
public String getNick()
public Session getSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |