org.jboss.messaging.core.client.impl
Interface RemotingConnection

All Known Implementing Classes:
RemotingConnectionImpl

public interface RemotingConnection

A RemotingConnection

Author:
Tim Fox

Method Summary
 Location getLocation()
           
 PacketDispatcher getPacketDispatcher()
           
 long getSessionID()
           
 Packet sendBlocking(long targetID, long executorID, Packet packet)
           
 void sendOneWay(long targetID, long executorID, Packet packet)
           
 void setRemotingSessionListener(RemotingSessionListener newListener)
           
 void start()
           
 void stop()
           
 

Method Detail

start

void start()
           throws java.lang.Throwable
Throws:
java.lang.Throwable

stop

void stop()

getSessionID

long getSessionID()

sendBlocking

Packet sendBlocking(long targetID,
                    long executorID,
                    Packet packet)
                    throws MessagingException
Throws:
MessagingException

sendOneWay

void sendOneWay(long targetID,
                long executorID,
                Packet packet)
                throws MessagingException
Throws:
MessagingException

setRemotingSessionListener

void setRemotingSessionListener(RemotingSessionListener newListener)

getPacketDispatcher

PacketDispatcher getPacketDispatcher()

getLocation

Location getLocation()


Copyright © 2006 JBoss Inc. All Rights Reserved.