public byte[] nextMessage() throws SshException {
		if (Log.isDebugEnabled()) {
			if (verbose) {
				Log.debug(this, "transport next message");
			}
		}
		synchronized (transportIn) {

			byte[] msg;

			do {
				msg = readMessage();
			} while (processMessage(msg));
			return msg;
		}

	}
public byte [ ] nextMessage ( ) throws SshException { if ( Log . isDebugEnabled ( ) ) { if ( verbose ) { Log . debug ( this , "transport next message" ) ; } } synchronized ( transportIn ) { byte [ ] msg ; do { msg = readMessage ( ) ; } while ( processMessage ( msg ) ) ; return msg ; } }
Get the next message. The message returned will be the full message data
so skipping the first 5 bytes is required before the message data can be
read.

@return a byte array containing all the message data
@throws IOException