org.drools.grid.impl
Class MultiplexSocketServerImpl
java.lang.Object
org.drools.grid.impl.MultiplexSocketServerImpl
- All Implemented Interfaces:
- SocketService
public class MultiplexSocketServerImpl
- extends Object
- implements SocketService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiplexSocketServerImpl
public MultiplexSocketServerImpl(String ip,
AcceptorFactoryService factory,
org.drools.SystemEventListener l,
Grid grid)
addService
public void addService(String id,
int port,
Object object)
- Specified by:
addService in interface SocketService
removeService
public void removeService(int socket,
String id)
- Specified by:
removeService in interface SocketService
close
public void close()
- Specified by:
close in interface SocketService
getIp
public String getIp()
- Specified by:
getIp in interface SocketService
getPorts
public Set<Integer> getPorts()
- Specified by:
getPorts in interface SocketService
getConnection
public <T> GridConnection<T> getConnection(GridServiceDescription<T> gsd)
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.