Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
org.ros.internal.transport.MessageQueueIntegrationTest Class Reference

List of all members.

Classes

class  ServerHandler

Public Member Functions

void setup ()
void tearDown ()
void testSendAfterIncomingQueueShutdown () throws InterruptedException
void testSendAfterOutgoingQueueShutdown () throws InterruptedException
void testSendAfterServerChannelClosed () throws InterruptedException
void testSendAndReceiveLatchedMessage () throws InterruptedException
void testSendAndReceiveMessage () throws InterruptedException

Private Member Functions

Channel buildServerChannel ()
TcpClient connect (TcpClientManager TcpClientManager, Channel serverChannel)
CountDownLatch expectMessage (IncomingMessageQueue< std_msgs.String > incomingMessageQueue) throws InterruptedException
void expectMessages () throws InterruptedException
void startRepeatingPublisher ()

Private Attributes

ExecutorService executorService
std_msgs.String expectedMessage
IncomingMessageQueue
< std_msgs.String > 
firstIncomingMessageQueue
TcpClientManager firstTcpClientManager
OutgoingMessageQueue< MessageoutgoingMessageQueue
IncomingMessageQueue
< std_msgs.String > 
secondIncomingMessageQueue
TcpClientManager secondTcpClientManager

Static Private Attributes

static final boolean DEBUG = false
static final Log log = LogFactory.getLog(MessageQueueIntegrationTest.class)
static final int QUEUE_CAPACITY = 128

Detailed Description

Author:
damonkohler@google.com (Damon Kohler)

Definition at line 65 of file MessageQueueIntegrationTest.java.


Member Function Documentation

Definition at line 147 of file MessageQueueIntegrationTest.java.

TcpClient org.ros.internal.transport.MessageQueueIntegrationTest.connect ( TcpClientManager  TcpClientManager,
Channel  serverChannel 
) [inline, private]

Definition at line 175 of file MessageQueueIntegrationTest.java.

CountDownLatch org.ros.internal.transport.MessageQueueIntegrationTest.expectMessage ( IncomingMessageQueue< std_msgs.String >  incomingMessageQueue) throws InterruptedException [inline, private]

Definition at line 179 of file MessageQueueIntegrationTest.java.

void org.ros.internal.transport.MessageQueueIntegrationTest.expectMessages ( ) throws InterruptedException [inline, private]

Definition at line 192 of file MessageQueueIntegrationTest.java.

Definition at line 111 of file MessageQueueIntegrationTest.java.

Definition at line 137 of file MessageQueueIntegrationTest.java.

Definition at line 132 of file MessageQueueIntegrationTest.java.

Definition at line 230 of file MessageQueueIntegrationTest.java.

Definition at line 248 of file MessageQueueIntegrationTest.java.

Definition at line 239 of file MessageQueueIntegrationTest.java.

Definition at line 209 of file MessageQueueIntegrationTest.java.

Definition at line 200 of file MessageQueueIntegrationTest.java.


Member Data Documentation

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

Definition at line 67 of file MessageQueueIntegrationTest.java.

Definition at line 72 of file MessageQueueIntegrationTest.java.

Definition at line 78 of file MessageQueueIntegrationTest.java.

Definition at line 76 of file MessageQueueIntegrationTest.java.

Definition at line 73 of file MessageQueueIntegrationTest.java.

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

Definition at line 68 of file MessageQueueIntegrationTest.java.

Definition at line 75 of file MessageQueueIntegrationTest.java.

Definition at line 70 of file MessageQueueIntegrationTest.java.

Definition at line 77 of file MessageQueueIntegrationTest.java.

Definition at line 74 of file MessageQueueIntegrationTest.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