Examples of tpalloc()


Examples of org.jboss.narayana.blacktie.jatmibroker.xatmi.Connection.tpalloc()

  public static void main(String[] args) throws Exception {
    log.info("JavaClient");
    ConnectionFactory connectionFactory = ConnectionFactory
        .getConnectionFactory();
    Connection connection = connectionFactory.getConnection();
    X_OCTET sbuf = (X_OCTET) connection.tpalloc("X_OCTET", null, 29);
    sbuf.setByteArray("THIS IS YOUR CLIENT SPEAKING".getBytes());
    log.info("Calling tpcall with input: %s"
        + new String(sbuf.getByteArray()));
    int cd = connection.tpacall("JAVASERV", sbuf, 0);
    Response retbuf = connection.tpgetrply(cd, 0);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.