public RemoteCommand getRemoteCommand ( Jid jid , String node ) { return new RemoteCommand ( connection ( ) , node , jid ) ; }
Returns a command that represents an instance of a command in a remote host . It is used to execute remote commands . The concept is similar to RMI . Every invocation on this command is equivalent to an invocation in the remote command .