JBoss Remoting 3 3.2.0.Beta2-redhat-1

org.jboss.remoting3
Class ChannelPair

java.lang.Object
  extended by org.jboss.remoting3.ChannelPair

public final class ChannelPair
extends Object

A pair of interconnected channels.

Author:
David M. Lloyd

Constructor Summary
ChannelPair(Channel leftChannel, Channel rightChannel)
          Construct a new instance.
 
Method Summary
 Channel getLeftChannel()
          Get the left-hand channel.
 Channel getRightChannel()
          Get the right-hand channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelPair

public ChannelPair(Channel leftChannel,
                   Channel rightChannel)
Construct a new instance.

Parameters:
leftChannel - the left-hand channel
rightChannel - the right-hand channel
Method Detail

getLeftChannel

public Channel getLeftChannel()
Get the left-hand channel.

Returns:
the left-hand channel

getRightChannel

public Channel getRightChannel()
Get the right-hand channel.

Returns:
the right-hand channel

JBoss Remoting 3 3.2.0.Beta2-redhat-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.