org.terracotta.ipceventbus.event
Class EventBusServer.Builder

java.lang.Object
  extended by org.terracotta.ipceventbus.event.BaseBuilder<EventBusServer.Builder>
      extended by org.terracotta.ipceventbus.event.EventBusServer.Builder
Enclosing interface:
EventBusServer

public static final class EventBusServer.Builder
extends BaseBuilder<EventBusServer.Builder>


Constructor Summary
EventBusServer.Builder()
           
 
Method Summary
 EventBusServer.Builder bind(String address)
           
 EventBusServer build()
           
 EventBusServer.Builder listen(int port)
           
 EventBusServer.Builder listenRandom()
           
 
Methods inherited from class org.terracotta.ipceventbus.event.BaseBuilder
id, onError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventBusServer.Builder

public EventBusServer.Builder()
Method Detail

bind

public EventBusServer.Builder bind(String address)

listen

public EventBusServer.Builder listen(int port)

listenRandom

public EventBusServer.Builder listenRandom()

build

public EventBusServer build()
                     throws EventBusException
Overrides:
build in class BaseBuilder<EventBusServer.Builder>
Throws:
EventBusException


Copyright © 2015. All rights reserved.