/** * Creates a new RemoteCommand that uses an specific connection to execute a * command identified by <code>node</code> in the host identified by * <code>jid</code> * * @param connection the connection to use for the execution. * @param node the identifier of the command. * @param jid the JID of the host. */ protected RemoteCommand(XMPPConnection connection, String node, Jid jid) { super(); this.connection = connection; this.jid = jid; this.setNode(node); }
/** * Creates a new RemoteCommand that uses an specific connection to execute a * command identified by <code>node</code> in the host identified by * <code>jid</code> * * @param connection the connection to use for the execution. * @param node the identifier of the command. * @param jid the JID of the host. */ protected RemoteCommand(Connection connection, String node, String jid) { super(); this.connection = connection; this.jid = jid; this.setNode(node); this.packetReplyTimeout = SmackConfiguration.getPacketReplyTimeout(); }
/** * Creates a new RemoteCommand that uses an specific connection to execute a * command identified by <code>node</code> in the host identified by * <code>jid</code> * * @param connection the connection to use for the execution. * @param node the identifier of the command. * @param jid the JID of the host. */ protected RemoteCommand(Connection connection, String node, String jid) { super(); this.connection = connection; this.jid = jid; this.setNode(node); this.packetReplyTimeout = SmackConfiguration.getPacketReplyTimeout(); }
/** * Creates a new RemoteCommand that uses an specific connection to execute a * command identified by <code>node</code> in the host identified by * <code>jid</code> * * @param connection the connection to use for the execution. * @param node the identifier of the command. * @param jid the JID of the host. */ protected RemoteCommand(Connection connection, String node, String jid) { super(); this.connection = connection; this.jid = jid; this.setNode(node); this.packetReplyTimeout = SmackConfiguration.getPacketReplyTimeout(); }