Package org.jboss.as.test.integration.ejb.mdb.dynamic.impl

Examples of org.jboss.as.test.integration.ejb.mdb.dynamic.impl.TelnetInputStream


    @Test
    public void test1() throws Exception {
        final Socket socket = new Socket(EJBManagementUtil.getNodeName(), 2020);
        final OutputStream sockOut = socket.getOutputStream();
        final DataInputStream in = new DataInputStream(new TelnetInputStream(socket.getInputStream(), sockOut));
        final PrintStream out = new TelnetPrintStream(sockOut);

        assertEmptyLine(in);
        assertEquals("type 'help' for a list of commands", in.readLine());
View Full Code Here

TOP

Related Classes of org.jboss.as.test.integration.ejb.mdb.dynamic.impl.TelnetInputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.