
                             S SK JrJrJr  S SKJrJr  \" S5      r\" S5      r " S S\S   \\\4   \S9r	 " S S	\\\4   \S9r
g
)    )GenericTypeVarAsyncContextManager)abstractmethodABCMetaRequestResponsec                   L    \ rS rSrSr\S\SS4S j5       r\S\4S j5       r	Sr
g)	
Connection   z]
A connection to an underlying stream. Only one call to 'read' may be outstanding at a time.
requestreturnNc                    #    [        5       e7f)zj
Write a message to the stream.

Raises:
  GoogleAPICallError: When the connection terminates in failure.
NotImplementedError)selfr   s     Clib/third_party/google/cloud/pubsublite/internal/wire/connection.pywriteConnection.write         "##   c                    #    [        5       e7f)zm
Read a message off of the stream.

Raises:
  GoogleAPICallError: When the connection terminates in failure.
r   r   s    r   readConnection.read'   r   r    )__name__
__module____qualname____firstlineno____doc__r   r   r   r	   r   __static_attributes__r       r   r   r      sD     $7 $t $ $ $H $ $r#   r   )	metaclassc                   :    \ rS rSrSr\S\\\4   4S j5       r	Sr
g)ConnectionFactory2   z$A factory for producing Connections.r   c                    #    [        5       e7f)Nr   r   s    r   newConnectionFactory.new5   s     !##r   r   N)r   r   r   r    r!   r   r   r   r	   r)   r"   r   r#   r   r&   r&   2   s(    .$:gx&78 $ $r#   r&   N)typingr   r   r   abcr   r   r   r	   r   r&   r   r#   r   <module>r-      s\    9 8 '
)
:$%ww/@'AW$8$ 12g $r#   