org.hornetq.api.core
Interface BroadcastEndpoint


public interface BroadcastEndpoint

Author:
Tomohisa, Howard Gao

Method Summary
 void broadcast(byte[] data)
           
 void close(boolean isBroadcast)
           
 void openBroadcaster()
           
 void openClient()
           
 byte[] receiveBroadcast()
           
 byte[] receiveBroadcast(long time, TimeUnit unit)
           
 

Method Detail

openClient

void openClient()
                throws Exception
Throws:
Exception

openBroadcaster

void openBroadcaster()
                     throws Exception
Throws:
Exception

close

void close(boolean isBroadcast)
           throws Exception
Throws:
Exception

broadcast

void broadcast(byte[] data)
               throws Exception
Throws:
Exception

receiveBroadcast

byte[] receiveBroadcast()
                        throws Exception
Throws:
Exception

receiveBroadcast

byte[] receiveBroadcast(long time,
                        TimeUnit unit)
                        throws Exception
Throws:
Exception


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