Changeset 34087
- Timestamp:
- 06/22/09 00:23:12 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/java/IRCKit/trunk/src/com/mac/tarchan/irc/client/IRCClient.java
r34084 r34087 325 325 { 326 326 IRCMessage msg = createMessage(text); 327 // try328 // {329 // text = new String(text.getBytes(), encoding);330 // }331 // catch (UnsupportedEncodingException x)332 // {333 // x.printStackTrace();334 // }335 // System.out.format("[GET][%s] %s\n", msg.getCommand(), text);336 // if (handler != null) handler.onMessage(msg);337 327 fireHandler(msg.getCommand(), msg); 338 328 fireHandler("ALL", msg); … … 479 469 * 接続を継続するために PONG を送信します。 480 470 */ 481 private static class PingPong 482 { 471 public static class PingPong 472 { 473 /** IRCクライアント */ 483 474 protected IRCClient irc; 484 475 476 /** 477 * PingPongを構築します。 478 * 479 * @param irc IRCクライアント 480 */ 485 481 public PingPong(IRCClient irc) 486 482 { … … 506 502 * IRCサーバーにログインしたら、自動的にJOINします。 507 503 */ 508 private static class AutoJoin 509 { 504 public static class AutoJoin 505 { 506 /** IRCクライアント */ 510 507 protected IRCClient irc; 511 508 509 /** 510 * AutoJoinを構築します。 511 * 512 * @param irc IRCクライアント 513 */ 512 514 public AutoJoin(IRCClient irc) 513 515 {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)