Public Member Functions | Private Attributes | Static Private Attributes
org.ros.internal.transport.tcp.TcpRosServer Class Reference

List of all members.

Public Member Functions

InetSocketAddress getAddress ()
AdvertiseAddress getAdvertiseAddress ()
void shutdown ()
void start ()
 TcpRosServer (BindAddress bindAddress, AdvertiseAddress advertiseAddress, TopicParticipantManager topicParticipantManager, ServiceManager serviceManager, ScheduledExecutorService executorService)

Private Attributes

final AdvertiseAddress advertiseAddress
final BindAddress bindAddress
ServerBootstrap bootstrap
ChannelFactory channelFactory
final ScheduledExecutorService executorService
ChannelGroup incomingChannelGroup
Channel outgoingChannel
final ServiceManager serviceManager
final TopicParticipantManager topicParticipantManager

Static Private Attributes

static final boolean DEBUG = false
static final Log log = LogFactory.getLog(TcpRosServer.class)

Detailed Description

The TCP server which is used for data communication between publishers and subscribers or between a service and a service client.

This server is used after publishers, subscribers, services and service clients have been told about each other by the master.

Author:
damonkohler@google.com (Damon Kohler)

Definition at line 50 of file TcpRosServer.java.


Constructor & Destructor Documentation

org.ros.internal.transport.tcp.TcpRosServer.TcpRosServer ( BindAddress  bindAddress,
AdvertiseAddress  advertiseAddress,
TopicParticipantManager  topicParticipantManager,
ServiceManager  serviceManager,
ScheduledExecutorService  executorService 
) [inline]

Definition at line 66 of file TcpRosServer.java.


Member Function Documentation

Returns:
the advertise-able InetSocketAddress of this TcpRosServer

Definition at line 126 of file TcpRosServer.java.

Returns:
the AdvertiseAddress of this TcpRosServer

Definition at line 133 of file TcpRosServer.java.

Close all incoming connections and the server socket.

Calling this method more than once has no effect.

Definition at line 106 of file TcpRosServer.java.

Definition at line 76 of file TcpRosServer.java.


Member Data Documentation

Definition at line 56 of file TcpRosServer.java.

Definition at line 55 of file TcpRosServer.java.

Definition at line 62 of file TcpRosServer.java.

Definition at line 61 of file TcpRosServer.java.

final boolean org.ros.internal.transport.tcp.TcpRosServer.DEBUG = false [static, private]

Definition at line 52 of file TcpRosServer.java.

final ScheduledExecutorService org.ros.internal.transport.tcp.TcpRosServer.executorService [private]

Definition at line 59 of file TcpRosServer.java.

Definition at line 64 of file TcpRosServer.java.

final Log org.ros.internal.transport.tcp.TcpRosServer.log = LogFactory.getLog(TcpRosServer.class) [static, private]

Definition at line 53 of file TcpRosServer.java.

Definition at line 63 of file TcpRosServer.java.

Definition at line 58 of file TcpRosServer.java.

Definition at line 57 of file TcpRosServer.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:51