org.jboss.messaging.core.remoting.impl.invm
Class INVMConnector

java.lang.Object
  extended by org.jboss.messaging.core.remoting.impl.invm.INVMConnector
All Implemented Interfaces:
NIOConnector

public class INVMConnector
extends java.lang.Object
implements NIOConnector

Version:
$Revision$
Author:
Jeff Mesnil

Constructor Summary
INVMConnector(long id, PacketDispatcher clientDispatcher, PacketDispatcher serverDispatcher)
           
 
Method Summary
 void addSessionListener(RemotingSessionListener listener)
           
 NIOSession connect()
           
 boolean disconnect()
           
 PacketDispatcher getDispatcher()
           
 java.lang.String getServerURI()
           
 void removeSessionListener(RemotingSessionListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

INVMConnector

public INVMConnector(long id,
                     PacketDispatcher clientDispatcher,
                     PacketDispatcher serverDispatcher)
Method Detail

connect

public NIOSession connect()
                   throws java.io.IOException
Specified by:
connect in interface NIOConnector
Throws:
java.io.IOException

disconnect

public boolean disconnect()
Specified by:
disconnect in interface NIOConnector

getServerURI

public java.lang.String getServerURI()
Specified by:
getServerURI in interface NIOConnector

getDispatcher

public PacketDispatcher getDispatcher()
Specified by:
getDispatcher in interface NIOConnector

addSessionListener

public void addSessionListener(RemotingSessionListener listener)
Specified by:
addSessionListener in interface NIOConnector

removeSessionListener

public void removeSessionListener(RemotingSessionListener listener)
Specified by:
removeSessionListener in interface NIOConnector


Copyright © 2006 JBoss Inc. All Rights Reserved.