01: /**
02: * $Revision$
03: * $Date$
04: *
05: * Copyright (C) 2007 Jive Software. All rights reserved.
06: *
07: * This software is published under the terms of the GNU Public License (GPL),
08: * a copy of which is included in this distribution.
09: */package org.jivesoftware.openfire.gateway.protocols.irc;
10:
11: import org.jivesoftware.openfire.gateway.roster.TransportBuddy;
12: import org.jivesoftware.openfire.gateway.roster.TransportBuddyManager;
13: import org.jivesoftware.openfire.gateway.pseudoroster.PseudoRosterItem;
14:
15: /**
16: * @author Daniel Henninger
17: */
18: public class IRCBuddy extends TransportBuddy {
19:
20: public IRCBuddy(TransportBuddyManager manager, String username,
21: PseudoRosterItem item) {
22: super (manager, username, null, null);
23: pseudoRosterItem = item;
24: this .setNickname(item.getNickname());
25: this .setGroups(item.getGroups());
26: }
27:
28: public PseudoRosterItem pseudoRosterItem = null;
29:
30: }
|