/*
 * Copyright (c) 2001-2009 XORP, Inc.
 * See the XORP LICENSE.lgpl file for licensing, conditions, and warranties
 * on use.
 *
 * DO NOT EDIT THIS FILE - IT IS PROGRAMMATICALLY GENERATED
 *
 * Generated by 'tgt-gen'.
 *
 * $XORP: xorp/xrl/targets/test_peer.xrls,v 1.20 2009/01/05 18:31:15 jtc Exp $
 */

/**
 *  Get name of Xrl Target
 */
finder://test_peer/common/0.1/get_target_name->name:txt

/**
 *  Get version string from Xrl Target
 */
finder://test_peer/common/0.1/get_version->version:txt

/**
 *  Get status of Xrl Target
 */
finder://test_peer/common/0.1/get_status->status:u32&reason:txt

/**
 *  Request clean shutdown of Xrl Target
 */
finder://test_peer/common/0.1/shutdown

/**
 *  Register for receiving packets and events. The registering process must
 *  implement the "datain" interface in order to receive data.
 *
 *  @param genid Generation id.
 */
finder://test_peer/test_peer/0.1/register?coordinator:txt&genid:u32

/**
 *  Packetisation style.
 */
finder://test_peer/test_peer/0.1/packetisation?protocol:txt

/**
 *  Set whether to assume 2 or 4 byte AS numbers when decoding.
 */
finder://test_peer/test_peer/0.1/use_4byte_asnums?use:bool

/**
 *  Make a tcp connection to the specified host and port.
 *
 *  @param host name.
 *
 *  @param port number.
 */
finder://test_peer/test_peer/0.1/connect?host:txt&port:u32

/**
 *  Listen for connections on this address and port.
 *
 *  @param address local address.
 *
 *  @param port local port number.
 */
finder://test_peer/test_peer/0.1/listen?address:txt&port:u32

/**
 *  Bind the port but don't perform the listen or accept.
 *
 *  @param address local address.
 *
 *  @param port local port number.
 */
finder://test_peer/test_peer/0.1/bind?address:txt&port:u32

/**
 *  Send data Send data to the peer.
 */
finder://test_peer/test_peer/0.1/send?data:binary

/**
 *  Disconnect from the peer.
 */
finder://test_peer/test_peer/0.1/disconnect

/**
 *  Reset the peer. Take it back to a known state.
 */
finder://test_peer/test_peer/0.1/reset

/**
 *  Terminate the test peer process.
 */
finder://test_peer/test_peer/0.1/terminate

