public byte[] sendBind(OutputStream os, BindType bindType,
            int sequenceNumber, String systemId, String password,
            String systemType, InterfaceVersion interfaceVersion,
            TypeOfNumber addrTon, NumberingPlanIndicator addrNpi,
            String addressRange) throws PDUStringException, IOException {

        byte[] b = pduComposer.bind(bindType.commandId(), sequenceNumber,
                systemId, password, systemType, interfaceVersion.value(),
                addrTon.value(), addrNpi.value(), addressRange);
        writeAndFlush(os, b);
        return b;
    }
public byte [ ] sendBind ( OutputStream os , BindType bindType , int sequenceNumber , String systemId , String password , String systemType , InterfaceVersion interfaceVersion , TypeOfNumber addrTon , NumberingPlanIndicator addrNpi , String addressRange ) throws PDUStringException , IOException { byte [ ] b = pduComposer . bind ( bindType . commandId ( ) , sequenceNumber , systemId , password , systemType , interfaceVersion . value ( ) , addrTon . value ( ) , addrNpi . value ( ) , addressRange ) ; writeAndFlush ( os , b ) ; return b ; }
/*
(non-Javadoc)

@see org.jsmpp.PDUSender#sendBind(java.io.OutputStream,
org.jsmpp.BindType, int, java.lang.String, java.lang.String,
java.lang.String, org.jsmpp.InterfaceVersion,
org.jsmpp.TypeOfNumber, org.jsmpp.NumberingPlanIndicator,
java.lang.String)