简体   繁体   English

JOscarLib-如何使用?

[英]JOscarLib - how to use?

How to use JOscarLib? 如何使用JOscarLib? I have to fix unworkable code with this lib, but I don't know, why I have some errors. 我必须使用此库修复无法工作的代码,但我不知道为什么会有一些错误。 I do this: 我这样做:

connection = new OscarConnection(auth.getHost(), auth.getPort(), auth.getUsername(), auth.getPassword());

But get this: 但是得到这个:

OscarLib.Core.JarClassLoader cacheClasses
WARNING: Warning : No jar file found. Packet unmarshalling won't be possible. Please verify your classpath
... JOscarLib.Core.OscarPacketAnalyser handleService
INFO: Received 1 - 3
... JOscarLib.Core.OscarPacketAnalyser handleService
INFO: Received 1 - 21

After this connection.isLogged == false with true username/password and host=login.icq.com and port=5190/443 在此连接之后.isLogged == false,带有真实的用户名/密码,主机= login.icq.com和端口= 5190/443

By the way, does this library works today? 顺便说一句,这个图书馆今天能用吗?

最后,我使用了icqlib库,它起作用了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM