|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--wtalk.WTalk
Multi-protocol messaging library for Java. Supported protocols
are contaiend within wtalk.protocols.<protocolname>
.
Field Summary | |
protected int |
iProtocol
|
protected wtalk.protocols.WTalkProtocol |
wtp
|
Constructor Summary | |
WTalk()
Default constructor |
|
WTalk(int protocol)
Overloaded constructor, creates WTalkProtocol based on paramater value. |
Method Summary | |
static java.lang.String |
getBanner()
Returns String containing name, version and author. |
int |
getProtocol()
Returns the integer value representing the current WTalkProtocol. |
wtalk.protocols.WTalkProtocol |
getWTalkProtocol()
Returns the WTalkProtocol object associated with WTalk. |
void |
setWTalkProtocol(int protocol)
Sets the prtocool WTalk will use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected wtalk.protocols.WTalkProtocol wtp
protected int iProtocol
Constructor Detail |
public WTalk()
public WTalk(int protocol)
protocol
- Protocol WTalk will use, defined in ProtocolProtocol
Method Detail |
public static java.lang.String getBanner()
public void setWTalkProtocol(int protocol)
protocol
- Protocol which should be a constant
specified in wtalk.Protocol
Protocol
public wtalk.protocols.WTalkProtocol getWTalkProtocol()
WTalkProtocol
public int getProtocol()
wtalk.Protocol.UNDEF is returned if there is no active WTalkProtocol.
Protocol
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |