public static void setTimeout(Stub stub, int timeout) {
        if (stub instanceof org.apache.axis.client.Stub) {
            ((org.apache.axis.client.Stub)stub).setTimeout(timeout);
        }
    }
public static void setTimeout ( Stub stub , int timeout ) { if ( stub instanceof org . apache . axis . client . Stub ) { ( ( org . apache . axis . client . Stub ) stub ) . setTimeout ( timeout ) ; } }
Sets connection timeout.

@param stub The stub to set the property on
@param timeout the new timeout value in milliseconds