OutboundPacketStream& OutboundPacketStream::operator<<( const BundleTerminator& rhs )
{
    (void) rhs;

    if( !IsBundleInProgress() )
        throw BundleNotInProgressException();
    if( IsMessageInProgress() )
        throw MessageInProgressException();

    EndElement( messageCursor_ );

    return *this;
}
	NxDeviceOscOutputMessage& NxDeviceOscOutputMessage::operator<<( const NxDeviceOscBundleTerminator& rhs )
	{
		(void) rhs;

		if( !IsBundleInProgress() )
			throw BundleNotInProgressException();
		if( IsMessageInProgress() )
			throw MessageInProgressException();

		EndElement( messageCursor_ );

		return *this;
	}