You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by wc...@apache.org on 2001/01/02 02:16:42 UTC

cvs commit: xml-soap/java/src/org/apache/soap/messaging Message.java

wcloeten    01/01/01 17:16:42

  Modified:    java/src/org/apache/soap/messaging Message.java
  Log:
  moved timeout parameter out of messaging layer
  
  Revision  Changes    Path
  1.5       +1 -10     xml-soap/java/src/org/apache/soap/messaging/Message.java
  
  Index: Message.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/messaging/Message.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Message.java	2000/09/18 15:12:05	1.4
  +++ Message.java	2001/01/02 01:16:42	1.5
  @@ -80,7 +80,6 @@
    */
   public class Message {
     SOAPTransport st;
  -  private int timeout = 0;
   
     public Message () {
     }
  @@ -93,14 +92,6 @@
       return st;
     }
   
  -    public void setTimeout(int _timeout) {
  -	timeout = _timeout;
  -    }
  -
  -    public int getTimeout() {
  -	return timeout;
  -    }
  -
     /**
      * Send an envelope to the given URL via the SOAPTransport that has
      * been configured for this instance (or SOAPHTTPConnection by default).
  @@ -117,7 +108,7 @@
       if (st == null) {
         st = new SOAPHTTPConnection ();
       }
  -    st.send (url, actionURI, null, env, null, timeout);
  +    st.send (url, actionURI, null, env, null);
     }
   
     /**