Service() private method

private Service ( string name, PacketLineOut pckOut ) : void
name string
pckOut PacketLineOut
return void
 public TcpPushConnection(TransportGitAnon instance)
     : base(instance)
 {
     _sock = instance.OpenConnection();
     try
     {
         init(new NetworkStream(_sock));
         instance.Service("git-receive-pack", pckOut);
     }
     catch (SocketException err)
     {
         Close();
         throw new TransportException(uri, "remote hung up unexpectedly", err);
     }
     readAdvertisedRefs();
 }
Example #2
0
 public TcpPushConnection(TransportGitAnon instance)
     : base(instance)
 {
     _sock = instance.OpenConnection();
     try
     {
         init(new NetworkStream(_sock));
         instance.Service("git-receive-pack", pckOut);
     }
     catch (SocketException err)
     {
         Close();
         throw new TransportException(uri, "remote hung up unexpectedly", err);
     }
     readAdvertisedRefs();
 }