irssibot.core
Class ChannelConnect

java.lang.Object
  |
  +--irssibot.core.ChannelConnect

public class ChannelConnect
extends java.lang.Object

Represents a unidirectional 'connection' between two IRC channels the bot forwards things said on source channel to the destination channel

Version:
$Name: $ $Revision: 1.3 $
Author:
Matti Dahlbom

Field Summary
private  java.lang.String destinationChannel
          Destination channel on destination network.
private  ServerConnection destinationNetwork
          Destination server connection (network).
private  java.lang.String sourceChannel
          Source channel (on the current network).
 
Constructor Summary
ChannelConnect(java.lang.String sourceChannel, ServerConnection destinationNetwork, java.lang.String destinationChannel)
           
 
Method Summary
 java.lang.String getDestinationChannel()
          Returns destination channel name on destination network.
 ServerConnection getDestinationNetwork()
          Returns destination server connection (network).
 java.lang.String getSourceChannel()
          Returns source channel name (on the current network).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceChannel

private java.lang.String sourceChannel
Source channel (on the current network).


destinationNetwork

private ServerConnection destinationNetwork
Destination server connection (network).


destinationChannel

private java.lang.String destinationChannel
Destination channel on destination network.

Constructor Detail

ChannelConnect

public ChannelConnect(java.lang.String sourceChannel,
                      ServerConnection destinationNetwork,
                      java.lang.String destinationChannel)
Method Detail

getSourceChannel

public java.lang.String getSourceChannel()
Returns source channel name (on the current network).


getDestinationNetwork

public ServerConnection getDestinationNetwork()
Returns destination server connection (network).


getDestinationChannel

public java.lang.String getDestinationChannel()
Returns destination channel name on destination network.



IrssiBot (c) 2000-2002 Matti Dahlbom